Comments (5)
Hi, basically we run both train and test on the train dataset (as the goal of GANs are mimicking the training distribution). Hence, you can simply add option --phase train
to test the trained model on the train dataset.
However, we also provide validation dataset to check the generalizability of the model. To this end, we train an additional segmentation model on the CCP train dataset, and predicted masks on the CCP val dataset. As CCP dataset contains only one mask per image, we simply used the pix2pix model, which can be simply run under the code base.
Sorry for not providing the pre-trained weights of the segmentation model, but it is not so difficult to reproduce it.
from instagan.
It worked, thanks!
But, I have encountered some new problems while runing test ccp.
There are two results output during training and testing(mark in the top-left corner of the image), but results during testing(upper one) seems to be unnormal.
Shouldn’t this result be like the results during training(lower one)? Why are they different?
I checked the code for this part, 'save_images()' and 'display_current_results()' both use 'util.tensor2im()' and save images to html.
What could be a reason for getting this problem? thanks!
from instagan.
Hi, what is the upper one and lower one?
The lower one seems to work ok, but do you have a problem at the upper one?
from instagan.
I am sorry for the expression is not accurate.
I have re-edited the previous message.
thanks!
from instagan.
Thank you for your revised question!
Did you you the model of the same epoch?
Occasionally, the training becomes weirdly unstable, and all the results collapse.
Can you check 1) your loss curves are stable, 2) test results are still weird for earlier epochs?
from instagan.
Related Issues (20)
- hi, I did an experiments on hair style transfer, but it seem don't work. HOT 11
- dataloader is broken HOT 1
- IndexError: list index out of range HOT 1
- broadcasting error (output) HOT 1
- Two inputs' ranges in models/insta_gan_model.py 230 row
- where can I download the pre-train model? HOT 2
- AttributeError: InstaGANModel instance has no attribute 'fake_B_img_sng'
- From my training logs, the TEACHER is always 0. Is that normal?
- trouble in datsets create
- Different Amount of Maks in training and test time HOT 1
- RuntimeError: output with shape [1, 240, 160] doesn't match the broadcast shape [3, 240, 160] HOT 1
- The design of adding mask to CycleGAN HOT 1
- RuntimeError: output with shape [1, 300, 200] doesn't match the broadcast shape [3, 300, 200] HOT 2
- Can InstaGAN be used for minor attribute manipulation? HOT 1
- While testing also the bnary masks are needed for bothe the domains?
- What happened to the (pear2orange) generated image without deformation
- Convert only one
- my own groundtruth images
- Calculation of masked classification score
- RuntimeError: cublas runtime error during training
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 instagan.