ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ vim preprocess_cifar_10.py
ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ python preprocess_cifar_10.py
File "preprocess_cifar_10.py", line 20
dset=f.create_dataset('data',(50000,3,32,32),dtype='float')
^
TabError: inconsistent use of tabs and spaces in indentation
ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ vim preprocess_cifar_10.py
ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ python preprocess_cifar_10.py
File "preprocess_cifar_10.py", line 24
dset[30000:40000]=np.reshape(np.array(unpickle('cifar-10-batches-py/data_batch_4')['data']),[10000,3,32,32])
^
TabError: inconsistent use of tabs and spaces in indentation
of course, I knew how to fix it; but it is a boring job
ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ vim preprocess_cifar_10.py ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ python preprocess_cifar_10.py File "preprocess_cifar_10.py", line 20 dset=f.create_dataset('data',(50000,3,32,32),dtype='float') ^ TabError: inconsistent use of tabs and spaces in indentation ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ vim preprocess_cifar_10.py ubgpu@ubgpu:~/source_for_caffe/1/expresso/tutorials/data$ python preprocess_cifar_10.py File "preprocess_cifar_10.py", line 24 dset[30000:40000]=np.reshape(np.array(unpickle('cifar-10-batches-py/data_batch_4')['data']),[10000,3,32,32]) ^ TabError: inconsistent use of tabs and spaces in indentation
of course, I knew how to fix it; but it is a boring job