-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Please help me this is urgent.!
By the way I am using Window 10 x64
I am getting error while
I run
'python train.py fcn_rffc4 brats_fold0 brats_fold0 600 -ch False' command
Error is shortly, IOError Unable to open file.... beacuse 'no such file or directory'
Long error that I got is :
(medical_image) C:\Users\yunus\Desktop\CNNbasedMedicalSegmentation-master\CNNbasedMedicalSegmentation-master>python train.py fcn_rffc4 brats_fold0 brats_fold0 600 -ch False
C:\Users\yunus\Anaconda3\envs\medical_image\lib\site-packages\h5py_init_.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
C:\Users\yunus\Anaconda3\envs\medical_image\lib\site-packages\sklearn\cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
C:\Users\yunus\Anaconda3\envs\medical_image\lib\site-packages\sklearn\grid_search.py:43: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
DeprecationWarning)
Building model, coach...
Traceback (most recent call last):
File "train.py", line 305, in
start_training(model_code, data_code, checkpoint, max_passes=n_epochs, train_dir=train_dir)
File "train.py", line 273, in start_training
coach, model_def = setup_training(model_code, data_code, checkpoint, max_passes)
File "train.py", line 140, in setup_training
train, valid, test = retrieve_data(data_code=data_code)
File "train.py", line 57, in retrieve_data
data = h5py.File(data_loc, 'r')
File "C:\Users\yunus\Anaconda3\envs\medical_image\lib\site-packages\h5py_hl\files.py", line 271, in init
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "C:\Users\yunus\Anaconda3\envs\medical_image\lib\site-packages\h5py_hl\files.py", line 101, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 78, in h5py.h5f.open
IOError: Unable to open file (Unable to open file: name = 'data\datasets\brats_fold0.hdf5', errno = 2, error message = 'no such file or directory', flags = 0, o_flags = 0)