Comments (1)
You need to upgrade your torch vision library for the current codebase:
git clone https://github.com/pytorch/vision
cd vision
python setup.py install
Scale(opt.loadSize) might not work if the input image is not square.
From pytorch doc:
Rescales the input PIL.Image to the given ‘size’. If ‘size’ is a 2-element tuple or list in the order of (width, height), it will be the exactly size to scale. If ‘size’ is a number, it will indicate the size of the smaller edge. For example, if height > width, then image will be rescaled to (size * height / width, size) size: size of the exactly size or the smaller edge interpolation: Default: PIL.Image.BILINEAR
from pytorch-cyclegan-and-pix2pix.
Related Issues (20)
- Error in combine_A_and_B.py for TIFF-files
- Training Parameters or Architecture Settings Recommendations
- Perform interpolation between Input and Output
- value of lambda_identity not to change the color
- good
- The test results with pix2pix were poor
- Image truncated error
- Help! HOT 1
- Can‘t open the pix2pix train/test website to download
- how to train for two input image and one output image HOT 2
- Template-to-Image test output are blurry.
- Query realted if the model can give RGBA image as output? HOT 2
- Use of pix2pix with multiple image types in training set
- inference of a single image (help) HOT 1
- medical
- Medical image
- What is the difference between preprocess scale_width_and_crop and resize_and_crop? HOT 1
- Rectangular image training failed,HELP! HELP!
- input and output image size in training set HOT 1
- light blue artifact on the output image
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 pytorch-cyclegan-and-pix2pix.