question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trained model sharing and questions on test module

See original GitHub issue

Dear MIC-DKFZ,

Thanks for the great respo. I’m a pytorch starter, and I’m using this U-Net example as a beginning. Enviroment: Ubuntu 16.0, Titan XP, pytorch 1.0, batchgenerators 0.19

  • Following the guideline, the 2D training process works well. The trained model can be found here.

  • The 3D training process also works but we need to modify the loggers in train3D.py as 2D case. Trained model of 3D U-Net

loggers={ "visdom": ("visdom", {"auto_start": c.start_visdom})}
  • batchgenerators 0.19 released recently. I use the new verson and it works well. pytorch 1.0 also works well. So the requirements.txt may be updated.

The test module in experiments does not implement. It is a litter difficult for pytorch beginners to finish it. Would it be possible for you to complete the test module in U-Net 2D and 3D at your convenience? So this respo will be a complete U-Net example.

I think it is worth to enrich this great respo and make it to be a good begining/tutorial for pytorch starters in medical image segmentation, becuase I do not find such starter-friendly respo in github. Most of the U-Net respos are for CV rather than for medical image segmentation. Although I can not contribute the valuable code now, I can do the code testing work and share the trained model.

Looking forward to your reply! Best, Jun

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
elpequenocommented, May 22, 2019

I added a test method to the 2D UNetExperiment. Results are printed in the terminal and also stored in a JSON file. Check it out and tell me if this helps. I’ll close this task.

0reactions
JunMa11commented, May 22, 2019

Get it. Thank you very much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Train and Test Set in Python Machine Learning - How to Split
As we work with datasets, a machine learning algorithm works in two stages. We usually split the data around 20%-80% between testing and...
Read more >
Train-Test Split for Evaluating Machine Learning Algorithms
In this tutorial, you will discover how to evaluate machine learning models using the train-test split. After completing this tutorial, ...
Read more >
Train a custom object detection model using your data
Learn how to train a custom object detection model for Raspberry Pi to detect less common objects like versions of a logo using...
Read more >
How to Unit Test Deep Learning: Tests in TensorFlow ...
Explore unit testing in tensorflow code using tf.test(), ... Learn how to build, train, deploy, scale and maintain deep learning models.
Read more >
What does model.train() do in PyTorch? - Stack Overflow
model.train() tells your model that you are training the model. This helps inform layers such as Dropout and BatchNorm, which are designed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found