Comments (2)
python main_train.py --input_name 33039_LR.png
('Random Seed: ', 5309)
functions.adjust_scales2image(real, opt)
in adjust_scales2image
opt.num_scales = int((math.log(math.pow(opt.min_size / (real_.shape[2]), 1), opt.scale_factor_init))) + 1
ValueError: math domain error
Try to run this project on Python3.+, I got the same problem on Python 2.+, but it works well on Python 3.+.
from singan.
Thank you for letting me know about this.
I don't know the reason for this error, didn't happen on my side. I updated a requirement file, maybe this could help.
from singan.
Related Issues (20)
- Does everyone know how to fix this runtime error? HOT 3
- Error: Providing a bool or integral fill value without setting the optional `dtype` or `out` arguments is currently unsupported
- ValueError: the input array must have size 3 along `channel_axis`, got (197, 250) HOT 2
- Why the training always stop at scale 8 ?
- Black Image for fake_sample.png at scale 8 and 9 HOT 2
- How to use SinGAN to perform image translation just as CycleGAN.
- Lack of package versions in requirements.txt file.
- Lack of imsave in random_samples.py
- process of inject scale for image manip (supplemental material figure 3)
- Getting black images as output of harmonization HOT 2
- Can I train model from multiple images?
- mask result image
- version another pytorch intead of 1.4.0
- About Pretrained Model (Harmonize and Super Resolution)
- ValueRrror of SIFID
- No such file or directory: 'TrainedModels/balloons/scale_factor=0.793701,alpha=100/Gs.pth' HOT 2
- SIFID: nan
- draw_concat
- How to input image name
- Python runtime error when training on an 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 singan.