How to save all test data images #9226
Unanswered
bibinwils
asked this question in
code help: CV
Replies: 3 comments 9 replies
-
for that you can try |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi, I couldn't succeed. Can you help me out? I tried like but not getting any results |
Beta Was this translation helpful? Give feedback.
1 reply
-
Won't this work ? predictions = trainer.predict(model=clf)
for i in range(100):
torchvision.utils.save_image(predictions[-1][i], “/images/generated_image%d.JPG” %i) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I trained a UNet with input images and mask. For that I split the entire dataset to train - valid - test. I have trained the network and got the output metrics for the test dataset. There are around 100 test images. I would like to pass through the model and save the corresponding output images to a folder. How to save the test output so?
Beta Was this translation helpful? Give feedback.
All reactions