Comments (1)
I think the autocast
that you are trying to do is to use lower precision, such as half precision.
It is convenient but could throw some error like this.
I'm not sure about the result but you can try casting manually.
I think you can use a wrapper to change the model itself to support lower precision.
Also, I personally do not recommend using half precision for all layers. Use half precision on backbone network only instead.
Thanks.
from inspyrenet.
Related Issues (20)
- Not getting the same quality as the hugging face web demo model HOT 2
- Train with another shape HOT 1
- Unexpected keys in state_dict when trying inference HOT 1
- Model difference between Res2Net50 Backbone and Res2Net50 [DUTS-TR] trained checkpoint HOT 3
- Unable to reproduce models and Increasing validation loss HOT 1
- `base_size` and `stage` parameters are not used for encoder and decoder HOT 6
- Overflow NaN can be happen in training HOT 1
- unable to load jit model HOT 2
- Some confusion about dynamic_resize HOT 2
- Image mask alignment problem HOT 4
- train custom dataset HOT 2
- Multiple masks area HOT 1
- InSPyReNet for mask refinement? HOT 1
- Error/Warning about get_root_logger and load_checkpoint HOT 7
- Fine tuning HOT 9
- InSPyReNet_SwinB_DIS5K_LR Result Download Failed HOT 1
- HR CustomDataset Finetuning HOT 2
- Is this undertrained HOT 1
- Downloading InSPyReNet models and testing them...
- inspyrenet is the best architecture of image segmentation i've used so far, please keep upgrading
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 inspyrenet.