Comments (3)
Hi @stsmall,
While it isn't terribly common, we have seen this behavior before. We're not entirely sure what is causing it or how to fix it. That being said, the model weights are updated as training progresses, so training terminating with nan
will still allow for valid predictions, provided that previous epochs completed without loss = nan
. In the example you provided, the weights used for prediction will be taken from the training epoch with the smallest lost prior to epoch 309.
One thing I will add to my to-do list is terminating training immediately upon a nan
, to avoid additional epochs (i.e. wasted time). I'll see if I can implement this soon.
Best,
Jeff
from relernn.
Hi Jeff,
Thanks! It usually ended up terminating after 10-30 more nan.
thanks,
@stsmall
from relernn.
I added code to terminate training upon loss = Nan
.
from relernn.
Related Issues (20)
- Error with ReLERNN example script. HOT 2
- ReLERNN train TF2 model.fit memory leak and errors HOT 12
- ReLERNN_TRAIN_POOL is slow HOT 3
- Genome bed file HOT 10
- tensorflow needed in requirements.txt HOT 1
- Installation instructions HOT 1
- Unable to allocate memory with ReLERNN_TRAIN_POOL HOT 4
- memory allocate error on PREDICT HOT 6
- empty files in SplitVCF/ HOT 10
- Demographic history error message
- Recommendations for how to parameterize ReLERNN
- Chromosome length bounded to 20 Mbp HOT 1
- Hi Im wondering how to generate the example.vcf haplotype file format
- Question about software usage HOT 1
- Is there a method to convert the result to other window size based results HOT 1
- ReLERNN_PREDICT_HOTSPO unable to run HOT 1
- RELERNN SIMULATE issue with vcf? HOT 7
- what is the recommended threshold for maf filtering HOT 3
- Which python version needed to successfully run ReLERNN? 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 relernn.