Comments (2)
Hey mschen97,
Thanks for your interest in TorchBeast, as well as for your interest in SC2 with which I also have some history.
Our queues can only handle tensor data. That means the arguments are either tensors, or lists or dicts with string keys. If they are lists or dicts, the contents (values) need adhere to the same constraint. Nested lists/dicts are possible, but in the end all the "leaf" entries need to be tensors/np.arrays. The number of objects doesn't matter though. However, care needs to be taken that each environment step returns the same number of tensors and that these tensors are compatible (batchable).
There's no tensor type restriction as far as I remember.
Perhaps if you could share some short example code I could help you further?
from torchbeast.
Thanks for your replay, I have solved this problem by changing my fifth output to tensor and then form a tuple with the first output to output at the first position.Thanks!
from torchbeast.
Related Issues (20)
- "Done" default of 1 results in 0 reward episodes HOT 1
- Reproducing Pong Training Curve using Monobeast HOT 2
- Cannot reproduce the performance of "SpaceInvaders" game? HOT 1
- error install nest on Ubuntu 16 HOT 1
- How exactly monobeast and polybeast are different in performance perspective? HOT 1
- PolyBeast build fails with Python 3.8 HOT 8
- Using more than 2 GPUs with Polybeast HOT 5
- Minimum parameter configuration for not bad training results HOT 1
- Error on installing PolyBeast HOT 1
- How does IMPALA join the exploration mechanism? HOT 2
- Why doesn't the test code use LSTM? HOT 2
- Continuous Action Apace
- torchbeast works poorly on atari.
- request for support for continuous and multi-discrete action space HOT 2
- default instructions for monobeast in Pong HOT 1
- I encountered some problems when I ran the command pip install ".[polybeast]"
- Can't install polybeast in WSL2
- is it possible to use this architecture with multiple cpu?
- Reproducibility Issue for torchbeast
- Excessive memory use in monobeast.py
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 torchbeast.