hi, it comes up with the following errors:Traceback (most recent call last):
File "/home/junxuan.cjx/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/junxuan.cjx/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 754, in run
self.target(*self.args, **self.__kwargs)
File "/home/junxuan.cjx/anaconda2/envs/tensorflow/lib/python2.7/site-packages/keras/engine/training.py", line 612, in data_generator_task
generator_output = next(self._generator)
File "/home/junxuan.cjx/home/end2endlobesegmentation/dataloader.py", line 448, in generator
x, y = self.next()
File "/home/junxuan.cjx/home/end2endlobesegmentation/dataloader.py", line 399, in next
a_img, b_img = random_patch(a, b, patch_shape=(self.patch_z_sz, self.ptch_sz, self.ptch_sz))
File "/home/junxuan.cjx/home/end2endlobesegmentation/futils/vpatch.py", line 33, in random_patch
if(gt_scan != None):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
can you help me solve it?
I don't know the meaning of c_dir_name='D'
hi, it comes up with the following errors:Traceback (most recent call last): File "/home/junxuan.cjx/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/home/junxuan.cjx/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "/home/junxuan.cjx/anaconda2/envs/tensorflow/lib/python2.7/site-packages/keras/engine/training.py", line 612, in data_generator_task generator_output = next(self._generator) File "/home/junxuan.cjx/home/end2endlobesegmentation/dataloader.py", line 448, in generator x, y = self.next() File "/home/junxuan.cjx/home/end2endlobesegmentation/dataloader.py", line 399, in next a_img, b_img = random_patch(a, b, patch_shape=(self.patch_z_sz, self.ptch_sz, self.ptch_sz)) File "/home/junxuan.cjx/home/end2endlobesegmentation/futils/vpatch.py", line 33, in random_patch if(gt_scan != None): ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
can you help me solve it? I don't know the meaning of c_dir_name='D'