You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Xin
I have an error while running the code:python main.py
====== Phase >>> train <<< ======
2018-08-25 16:34:55.208481: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
[*] Reading checkpoint...
[!] Load failed...
Traceback (most recent call last):
File "main.py", line 38, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "main.py", line 30, in main
model.train()
File "D:\miccai17-mmwhs-hybrid-master\ds_ft_hybrid_4ct\src\model.py", line 237, in train
batch_img, batch_label = get_batch_patches(img_clec, label_clec, self.inputI_size, self.batch_size, chn=1, flip_flag=True, rot_flag=True)
File "D:\miccai17-mmwhs-hybrid-master\ds_ft_hybrid_4ct\src\utils.py", line 57, in get_batch_patches
rand_img = img_clec[rand_idx[0]]
IndexError: index 0 is out of bounds for axis 0 with size 0
I hope that you can help me solve it.
Thanks
Zhang
The text was updated successfully, but these errors were encountered:
ZHANGHUAHAI
changed the title
NameError: name 'ConfigParser' is not defined
IndexError: list index out of range
Aug 23, 2018
ZHANGHUAHAI
changed the title
IndexError: list index out of range
IndexError: index 0 is out of bounds for axis 0 with size 0
Aug 25, 2018
Dear Xin
I have an error while running the code:python main.py
====== Phase >>> train <<< ======
2018-08-25 16:34:55.208481: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
[*] Reading checkpoint...
[!] Load failed...
Traceback (most recent call last):
File "main.py", line 38, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "main.py", line 30, in main
model.train()
File "D:\miccai17-mmwhs-hybrid-master\ds_ft_hybrid_4ct\src\model.py", line 237, in train
batch_img, batch_label = get_batch_patches(img_clec, label_clec, self.inputI_size, self.batch_size, chn=1, flip_flag=True, rot_flag=True)
File "D:\miccai17-mmwhs-hybrid-master\ds_ft_hybrid_4ct\src\utils.py", line 57, in get_batch_patches
rand_img = img_clec[rand_idx[0]]
IndexError: index 0 is out of bounds for axis 0 with size 0
I hope that you can help me solve it.
Thanks
Zhang
The text was updated successfully, but these errors were encountered: