Comments (8)
@ljjcoder If you already have downloaded the high-resolution Places2 dataset, you can set INPUT_SIZE: 256
in your configuration file and change the following line in the code and pass centerCrop=False
argument to the resize
method to prevent center cropping:
Line 141 in 97c28c6
If you don't have the high-resolution dataset, you can download 256x256
version from Places2 website under Data of Places-Extra69 section. You can also find a 256x256
version for the validation and test sets on the same page.
from edge-connect.
@knazeri ,thanks for your reply!do you mean that it only needs to change the mask = self.resize(mask, imgh, imgw) to mask = self.resize(mask, imgh, imgw,centerCrop=False)? if only
do this ,the mask resize to 256 directly but the img also use center crop. I guess it also need the
def resize(self, img, height, width, centerCrop=True): to def resize(self, img, height, width, centerCrop=False):. Is it right?
from edge-connect.
@knazeri I also ask what is different between Data of Places-Extra69 and Data of Places365-Challenge 2016? which one do you use? or both of them are used?
from edge-connect.
@ljjcoder You don't need to change the method definition. Only change the method call. Of course that is if you have already downloaded the high-resolution version of the Places2 dataset.
We have used the 256x256 version of Places2-Challenge 2016 full dataset for training!
from edge-connect.
@knazeri yes, I download the high-resolution version of the Places2. I still feel confused that if I just change change the the mask = self.resize(mask, imgh, imgw) to mask = self.resize(mask, imgh, imgw,centerCrop=False), the original image still use center crop. it is same as your training data?
from edge-connect.
@ljjcoder Honestly it doesn't really make any difference. You can either center crop an image or resize it to a fixed size. In either of these scenarios, the mask hides some part of the image and your network learns to inpaint the missing part! Like I mentioned before, our training dataset was the 256x256 version of the Places2 dataset.
from edge-connect.
你好,我最近也在跑这个代码。可以加你交流一下吗?我的微信:loveanshen 我的QQ:519838354 我的邮箱:[email protected] 非常期待你百忙中的回复
from edge-connect.
Files in Data of Places-Extra69 section is just 1.4G(256*256), it contains only 98,721 images for training. Is it enough to train the model?
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
- 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.