Comments (7)
@1900zyh Technically Places2 dataset is a huge dataset that captures most of the variation in natural images. That means you can use the pre-trained model on Places for other datasets; however, unlike most classification tasks, do not freeze early layers while training. Using the pre-trained model significantly reduces your training time.
Another trick that can help you reduce training time is to pre-train the model on a smaller input size (say 128) and use the weights to train larger images later!
from edge-connect.
Hi @knazeri , really appreciate for your instant response and helpful suggestions!
One more question, which standard do you usually use to judge the performance of the model during training?
I mean, will you carefully check each output image or do you think the quantitative evaluation numbers is more important during training?
from edge-connect.
I wonder,
as there are a lot of solutions for the missing regions, do you think the quantitative evaluation is valuable for image inpainting task? higher number means higher performance?
also I wonder why don't you use Inception Score in your paper?
Thanks.
from edge-connect.
@1900zyh Quantitative measures do not necessarily mean better output quality. I can refer you to this paper: The Unreasonable Effectiveness of Deep Features as a Perceptual Metric
Having said that, these measures might give you an estimate of how your model is performing. For better quantitative measures we use FID which has been shown to correlate with human perception! You can use the fid_score
we have provided to find the Frechet Distance between ground truth and model results.
Inception score is good with class conditional GANs (say creating imagenet images). It shows how good a model creates images per class. FID is good when comparing any two distributions.
from edge-connect.
@knazeri I saw existing image inpainting papers usually use Inception Score instead of FID, do you think Inception Score can help judge the fidelity of inpainting results (as it is usually applied in general GAN task)?
from edge-connect.
FID is a more recent metric than Inception Score and most GAN papers are reporting it as a better quantitative measure. You can read more here.
I don't think Inception Score is a good metric for conditional GANs (like inpaiting problem) because it only takes into account how diverse the generated images are from a class conditional distribution, while FID measures the distance between two distributions without considering the labels!
from edge-connect.
@knazeri thanks for your kind and patient answer!
Thanks a lot.
from edge-connect.
Related Issues (20)
- Results of first stage: edge model HOT 6
- Test image is being filled in a lighter shade HOT 1
- Who can help me slove this error? (when I try to train ) HOT 5
- Run the program on CoLab
- Convergency of edge model HOT 10
- Hello, After reading your paper, may I have a question that why you choice 178 for the celebA dataset drop size.
- 如果对图像修复,edge-connect感兴趣,或者需要帮助,可以联系我
- Training on Google Colab immediately stops HOT 1
- Selection of dataset
- Canny sigma HOT 1
- how to implement the visualization for the learned edges? HOT 2
- Sizes of tensors must match except in dimension 1
- New easy to use inpanting method with transformers HOT 1
- When using edge=2, training has ValueError: operands could not be broadcast together with shapes (256,256,3) (256,256)
- Why is there an error when I train MODEL4: joint model/为什么我训练MODEL4 :joint model会报错
- When I tried to start training, I got an error:RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1, 512, 4, 4]] is at version 2; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True). HOT 15
- About precision and recall during training HOT 1
- The loss function is abnormal when the edge network is trained
- RuntimeError: CUDA error: device-side assert triggered CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
- a question
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 edge-connect.