Comments (3)
how can I deal with it?
from bargainnet-image-harmonization.
I figure it out.
I suggest that the line 67 in base_dataset.py "transform_list.append(transforms.Resize(256, 256))" should be changed to "transform_list.append(Resize(256, 256))".
Thank you for sharing the code and models!
from bargainnet-image-harmonization.
just want to add that in addition to the change proposed above, Resize
also needs to be imported, e.g. in line 6, like so
from albumentations import HorizontalFlip, RandomResizedCrop, Compose, DualTransform, Resize
from bargainnet-image-harmonization.
Related Issues (11)
- Models available elsewhere? HOT 5
- batchsize question HOT 2
- 多卡训练的问题 HOT 1
- about test.py error HOT 1
- about test issues HOT 3
- About iharmony4 data structure and inharmony level HOT 1
- Evaluation using real image HOT 1
- Update the license of the repo. HOT 1
- Apply to the animated image domain HOT 1
- Retain the original size of the picture HOT 1
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 bargainnet-image-harmonization.