loading training set
Traceback (most recent call last):
File "train.py", line 387, in
main()
File "train.py", line 220, in main
class_balance=class_balance, split=target_split, seed=args.seed, masks=masks)
File "/home/xinyu/vnet.pytorch-master/torchbiomed/datasets/luna16.py", line 360, in init
imgs, target_mean = make_dataset(root, images, targets, seed, mode, class_balance, split, nonempty, test_fraction, mode)
File "/home/xinyu/vnet.pytorch-master/torchbiomed/datasets/luna16.py", line 111, in make_dataset
sample_label = load_label(label_path, label_list[0])
File "/home/xinyu/vnet.pytorch-master/torchbiomed/datasets/luna16.py", line 71, in load_label
img = nib.load(img).get_data()
File "/home/xinyu/anaconda3/lib/python3.6/site-packages/nibabel/loadsave.py", line 40, in load
stat_result = os.stat(filename)
ValueError: stat: embedded null character in path
loading training set Traceback (most recent call last): File "train.py", line 387, in
main()
File "train.py", line 220, in main
class_balance=class_balance, split=target_split, seed=args.seed, masks=masks)
File "/home/xinyu/vnet.pytorch-master/torchbiomed/datasets/luna16.py", line 360, in init
imgs, target_mean = make_dataset(root, images, targets, seed, mode, class_balance, split, nonempty, test_fraction, mode)
File "/home/xinyu/vnet.pytorch-master/torchbiomed/datasets/luna16.py", line 111, in make_dataset
sample_label = load_label(label_path, label_list[0])
File "/home/xinyu/vnet.pytorch-master/torchbiomed/datasets/luna16.py", line 71, in load_label
img = nib.load(img).get_data()
File "/home/xinyu/anaconda3/lib/python3.6/site-packages/nibabel/loadsave.py", line 40, in load
stat_result = os.stat(filename)
ValueError: stat: embedded null character in path