Comments (2)
I am trying to reappear this error and will reply to you soon.
from btmpg.
Hi, 这个溢出是因为gumble_softmax的并没有按照论文里说的那样设置。在文件run.py 里面 ‘self.GS = gumble_softmax(3500, 100)‘,即N=3500、Tau_max=100
,仔细查看代码会发现,每一步,n+=1
,随着训练步数增加,n越来越大,self.tau_max ** (self.n / self.N)
将会出现溢出错误。
Hi, this overflow is because gumble_softmax did not set as mentioned in the paper. In the file run.py
, ‘self.GS = gumble_softmax(3500, 100)‘, that is, n = 3500, tau_max = 100
, check the code carefully, you will find that every step, n+= 1
, with the number of training steps increase, n is getting bigger and bigger, self.tau_max ** (self.n / seld.n)
will have an overflow error.
from btmpg.
Related Issues (5)
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 btmpg.