Comments (6)
Hi, do you mind sharing the TF and keras versions that you are using? Also, you could try to use an older version from around the time that the library was released.
Cheers,
Angelos
from importance-sampling.
i use TF v2.3.1 and keras v2.4.3. could you share your version of these ?
from importance-sampling.
It has been a long time since I tested the code and in general tensorflow 2 is not supported. You can also see issue #25 for more details.
I would suggest TF 1.13.1 and keras 2.0.0 for testing purposes but you might even get it working with TF 2.1 and keras 2.3.1 .
from importance-sampling.
ok, thanks your answer and link. i tried to downgrade TF and others. i will reset all setting, restart on your suggestion version.
i will re-visit to write the result, soon.
from importance-sampling.
Hi, if useful, I got an mnist example to almost work with:
tensorflow==2.3.1
keras==2.3.1
Still get an error though:
score = model.evaluate(x_test, y_test, verbose=0)
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'input_1' with dtype float and shape [?,10]
from importance-sampling.
Alright, I finally got it to work!
tensorflow==1.13.1
keras==2.2.4
Specifically, /examples/mnist_mlp.py with args.importance_training=True
.
With tensorflow 1.3.1, was not able to install the above-suggested keras 2.0.0 since "seqeval 0.0.12 requires Keras>=2.2.4, but you have keras 2.0.0 which is incompatible."
from importance-sampling.
Related Issues (20)
- Addition of RAIS in the implemented methods
- The result seems okay, but there are a few confusing things HOT 2
- Fail when metric given as function HOT 9
- About the complete importance sampling code HOT 9
- Add initial_epoch to ImportanceTraining classes
- Remove unnecessary loading of validation data to memory HOT 2
- Failed when using ModelCheckpoint callback HOT 3
- Port to tensorflow 2 HOT 20
- Support of networks with multiple outputs HOT 10
- How do I get the serial Numbers of important samples HOT 1
- High GPU memory usage HOT 4
- Memory leak? HOT 2
- Question regarding Eq. 29 HOT 1
- Question regarding maximum variance reduction & speedup HOT 4
- Adjust Learning rate
- Compatibility with tensorflow = 2.5.0 and Keras = 2.4 HOT 4
- tensorflow and keras versions HOT 2
- Some confusion about the fast grads calculation when converting to Pytorch. HOT 3
- Would it be possible to calculate b from tau_threshold?
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 importance-sampling.