Comments (7)
Hi,
Can you provide more error information?
from ndq.
Below is the corresponding error message:
[ERROR 10:21:48] pymarl Failed after 0:00:42!
Traceback (most recent calls WITHOUT Sacred internals):
File "src/main.py", line 35, in my_main
run(_run, _config, _log)
File "/home/xxxxxxx/NDQ/src/run.py", line 60, in run
run_sequential(args=args, logger=logger)
File "/home/x x x x x x x/NDQ/src/run.py", line 227, in run_sequential
learner.train(episode_sample, runner.t_env, episode)
File "/home/xxxxxxx/NDQ/src/learners/categorical_q_learner.py", line 184, in train
loss.backward()
File "/home/xxxxxxx/anaconda3/envs/sc_roma/lib/python3.6/site-packages/torch/tensor.py", line 195, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/xxxxxxx/anaconda3/envs/sc_roma/lib/python3.6/site-packages/torch/autograd/__init__.py", line 99, in backward
allow_unreachable=True) # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [32, 67, 5, 11]], which is output 0 of SliceBackward, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
from ndq.
It seems that this is not a config file error.
from ndq.
What is the version of your pytorch?
from ndq.
Changed to 0.4, it looks like it can run for a while. Thanks for the quick response.
I still suggest that you modify your current config file, the problems are as I mentioned above
from ndq.
We have updated the README, including the detailed command to reproduce the results in our paper.
Thanks for your comments. Feel free to contact us if you have any other questions.
from ndq.
Thank you for your very quick reply and great work.
from ndq.
Related Issues (7)
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 ndq.