fregu856 / ebms_proposals Goto Github PK
View Code? Open in Web Editor NEWOfficial implementation of "Learning Proposals for Practical Energy-Based Regression", AISTATS 2022.
Home Page: http://www.fregu856.com/
License: MIT License
Official implementation of "Learning Proposals for Practical Energy-Based Regression", AISTATS 2022.
Home Page: http://www.fregu856.com/
License: MIT License
I run the source code directly, file 'ebms_proposals/ebm_age/ebm1a_train.py' can run, file 'ebms_proposals/ebm_age/ebmdn4_train_K4.py' can not run.
NAN errors occur at runtime, and all parameters of the proposed network become NAN.
In file 'ebms_proposals/ebm_age/ebmdn4_train_K4.py' , the root of the problem is line 74: q_ys_K = torch.exp(q_distr.log_prob(torch.transpose(ys, 1, 0).unsqueeze(2))) # (shape: (1, batch_size, K)).
The 'q_ys_K' generated by line 74 is minimal or zero, resulting in INF and NAN being generated during the calculation of the NCE Loss, and all parameters of the proposed network becoming NAN after the gradient update.
Don't know how you run it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.