Comments (7)
Could you please provide me with a sample code that can reproduce this error? Thanks!
from torchprofile.
RuntimeWarning: overflow encountered in long_scalars
I get this warning when running
python search.py --dataroot database/night2day
--restore_G_path logs/pix2pix/night2day/supernet/checkpoints/latest_net_G.pth
--output_path logs/pix2pix/night2day/supernet/result.pkl
--ngf 48 --batch_size 32
--config_set channels-48
--real_stat_path real_stat/night2day_B.npz
from the gan-compression repo. I can send you the model if you would like. Seems like to get results I should convert the numbers to something with arbitrary precision.
from torchprofile.
from torchprofile.
Hi, I've tried to convert it to float. Could you please try the latest version and see whether this issue has been resolved?
from torchprofile.
seems to be ok now. i still get the overflow warning but no longer get negative values.
Thanks!
from torchprofile.
@thesiti92, could you please check the latest version again and see whether the overflow warning has been resolved? Thanks
from torchprofile.
yeah sorry my project was on hold for a bit. just tested it and it worked fine for the GAN models i have trained. Thanks again, this is a pretty awesome tool!
from torchprofile.
Related Issues (18)
- Unused operations seem to be included in FLOPS calculation HOT 8
- the result of macs is not accurate HOT 2
- No handlers found!! HOT 2
- No handlers found "prim::pythonop" and "prim::tupleunpack" HOT 1
- How to set the "args = " , when it comes to transformer or MobileBERT? HOT 1
- No handlers found: "aten::linear". Skipped. HOT 3
- No handlers found: "aten::einsum" HOT 4
- No handlers found:"aten::pow"
- No handlers found HOT 1
- No handlers found
- No handlers found: "torchvision::roi_align". Skipped HOT 2
- [Feature Question]FLOPs computation support? HOT 3
- No handlers found: "aten::zeros" and "aten::lstm" Skipped. HOT 4
- profile_macs error at PyTorch 1.4 HOT 2
- missing handlers: aten::squeeze, aten::rsub HOT 1
- Handlers not found! HOT 1
- Is there a way to get not only the MACs count, but also the model's output? HOT 2
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 torchprofile.