mattmacy / vnet.pytorch

A PyTorch implementation for V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation
https://mattmacy.github.io/vnet.pytorch
BSD 3-Clause "New" or "Revised" License
693 stars 200 forks source link

hi,i have question about trian #23

Open nuist-xinyu opened 5 years ago

nuist-xinyu commented 5 years ago

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