Comments (11)
You can use pytorch 1.3.1 and it can run successfully.
from anatomynet-for-anatomical-segmentation.
Hi,
think you for your answers. I have tried your code but can not load correctly the dataset. I have downloaded the dataset PDDCA (version 1.4.1), tried to use preprocess_crop.ipynb to trait the data. It seems that nothing happened.
Could you tell me how to start is? thinks a lot
from anatomynet-for-anatomical-segmentation.
You don't need to run preprocessing. The data has been processed.
from anatomynet-for-anatomical-segmentation.
Hello,
the PDDCA data has the structure like '0522c0001/structures/Brainstem.nrrd, img.nrrd files.
but running AnatomyNet.py, the code search for folds like '/data/wtzhu/dataset/HNCetuximabclean/'
Also at the beginning of the code, you have defined the TRAIN TEST CET PET PATH like
TRAIN_PATH = './data/trainpddca15_crp_v2_pool1.pth'
TEST_PATH = './data/testpddca15_crp_v2_pool1.pth'
CET_PATH = './data/trainpddca15_cet_crp_v2_pool1.pth'
PET_PATH = './data/trainpddca15_pet_crp_v2_pool1.pth'
How can I find these?
Thank you for your patience.
from anatomynet-for-anatomical-segmentation.
These *_PATH is the generated result. You just need to create a data directory and it can run automatically.
from anatomynet-for-anatomical-segmentation.
so at which place? under the ./data subfolder? how to name it?
Need I give the data directory as parameter of AnatomyNet.py
Thinks
from anatomynet-for-anatomical-segmentation.
Yes.
from anatomynet-for-anatomical-segmentation.
sorry I can't run your code. have I any guide or manuel for the beginner?
Thanks
from anatomynet-for-anatomical-segmentation.
What is your error?
from anatomynet-for-anatomical-segmentation.
HI, this is part of the error msg:
missing annotation Submandibular_L 0522c0669
missing annotation Submandibular_R 0522c0669
0it [00:00, ?it/s]
Traceback (most recent call last):
File "AnatomyNet.py", line 160, in
train_data, test_data = process('./data/wtzhu/dataset/pddca18/')
File "AnatomyNet.py", line 146, in process
return getdatamask(train_data+train_dataopt+test_data, train_masks_data+train_masks_dataopt+test_masks_data,debug=debug), getdatamask(test_dataoff, test_masks_dataoff,debug=debug)
File "AnatomyNet.py", line 96, in getdatamask
img = np.load(fnm) # z y x
File "/home/hao/anaconda3/envs/tf/lib/python3.7/site-packages/numpy/lib/npyio.py", line 428, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: './data/wtzhu/dataset/pddca18/0522c0009/img_crp_v2.npy'
from anatomynet-for-anatomical-segmentation.
You need to change the data path to your own path for the dataset.
from anatomynet-for-anatomical-segmentation.
Related Issues (20)
- How did you pre-process the Data? I mean, how did you convert the dicom images to numpy arrays.... HOT 2
- Is there any code available for visualizations? HOT 2
- Is the trained-model saved somewhere, in drive or cloud?? Its taking too long to train HOT 2
- Model is not training for 3rd organ(Mandible) HOT 8
- Is code available for Evaluation? HOT 2
- What is the logic for training with different optimizers? HOT 1
- Question regarding fdl_loss_wmask implementation. HOT 1
- 关于preprocess的遇到一点问题 HOT 11
- difference between baselineSERes18Conc and anatomy net HOT 4
- about model file HOT 1
- How to remove CT scanner artifacts from the images HOT 2
- Error about TypeError: slice indices must be integers or None or have an __index__ method HOT 1
- About the loss used in this paper HOT 1
- About the loss HOT 3
- About the finetuning
- Training
- it seems the baseline outperforms the anatomyNet? HOT 4
- hybrid loss of AnatomyNet HOT 1
- about lung nodule/tumor segmentation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anatomynet-for-anatomical-segmentation.