-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The format of training_samples and validation samples #1
Comments
Hi Baoqiang, thanks for your question! The 'training_samples' or 'valid_samples' should be pointed to a '.npy' file. Within the file is a list containing the file names of training/validation samples. E.g., ['Patient_1.npz', 'Patient_14npz', 'Patient_18.npz', 'Patient_22.npz']. All training/validation samples should be placed in the path 'data_dir'. Please take a look at the code in the 'datagenerators.py'. You can define your own data loading functions for your specific data format. |
Thanks for the reply, it 's very nice work ! I did look at your datagenerators.py. Now I understand better ! Is it each 'Patient_1.npz' should include a dict {'CT': numpy, 'PET': numpy, 'Seg_tumor' : numpy , 'Seg_Node': numpy, 'Time:' 123 , 'Event:' 0 } ? |
Yes, you get it! |
Thanks ! |
It is unclear what the training_samples and validation samples files should be prepared. It would be nice to show it for implement your codes
The text was updated successfully, but these errors were encountered: