Comments (6)
same
environment:
- install sim3.10-hotfix
- pip install tensordict torchrl
- pip install -e .
detail error
Error executing job with overrides: ['algo=ppo', 'headless=true', 'wandb.entity=user21']
Traceback (most recent call last):
File "/home/user/OmniDrones/scripts/train.py", line 128, in main
collector = SyncDataCollector(
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/torchrl/collectors/collectors.py", line 721, in init
self._shuttle = self.env.reset()
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/torchrl/envs/common.py", line 2056, in reset
tensordict_reset = self._reset(tensordict, **kwargs)
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/torchrl/envs/transforms/transforms.py", line 790, in _reset
tensordict_reset = self.transform._reset(tensordict, tensordict_reset)
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/torchrl/envs/transforms/transforms.py", line 1050, in _reset
tensordict_reset = t._reset(tensordict, tensordict_reset)
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/torchrl/envs/transforms/transforms.py", line 1050, in _reset
tensordict_reset = t._reset(tensordict, tensordict_reset)
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/torchrl/envs/transforms/transforms.py", line 3775, in _reset
tensordict_reset = self._call(tensordict_reset)
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/torchrl/envs/transforms/transforms.py", line 3760, in _call
tensordict.exclude(*self.keys_to_exclude, inplace=True)
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/tensordict/base.py", line 4266, in exclude
result = self._exclude(*keys, inplace=inplace)
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/tensordict/_td.py", line 1988, in _exclude
val = val._exclude(
File "/home/user/miniconda3/envs/sim3.10-hotfix/lib/python3.10/site-packages/tensordict/_td.py", line 1988, in _exclude
val = val._exclude(
AttributeError: 'Tensor' object has no attribute '_exclude'
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
wandb: View run Hover-ppo/02-10_01-36 at: https://wandb.ai/user21/omnidrones/runs/gigy0a7j
wandb: ️⚡ View job at https://wandb.ai/user21/omnidrones/jobs/QXJ0aWZhY3RDb2xsZWN0aW9uOjEzODUxOTk2Mg==/version_details/v0
from omnidrones.
Sorry for the delayed reply! It should be fixed now.
from omnidrones.
Hi
Hope you're doing well. I'm still having a bit of a problem with TensorDict. I tried uninstalling it and then reinstalling it again, both with pip for the stable release and from the source using "python setup.py develop." But, I'm still stuck with this error:
tensordict.exclude(*self.keys_to_exclude, inplace=True) File "/home/onur/Downloads/tensordict/tensordict/base.py", line 4343, in exclude result = self._exclude(*keys, inplace=inplace) File "/home/onur/Downloads/tensordict/tensordict/_td.py", line 2045, in _exclude val = val._exclude( File "/home/onur/Downloads/tensordict/tensordict/_td.py", line 2045, in _exclude val = val._exclude( AttributeError: 'Tensor' object has no attribute '_exclude'
I also tried version 0.4.0, thinking it might fix things. But it turns out it needs Torch 2.2.0, which doesn't play nice with Isaac Orbit and now I'm seeing compatibility issues.
Got any ideas on how to get around this problem? Would really appreciate your input.
Thanks a bunch!
from omnidrones.
I can train with the #46 above, i update those files directly.
this is my commands:
- install ISAAC SIM 2023.1.0-hotfix in GUI
- conda create -n sim3.10 python=3.10 -y
- conda activate sim3.10
- cp -r conda_setup/etc $CONDA_PREFIX
- conda activate sim3.10
- pip install tensordict torchrl
- pip install -e .
- cd scripts
- python train.py algo=ppo headless=true wandb.entity=
from omnidrones.
Hi
Hope you're doing well. I'm still having a bit of a problem with TensorDict. I tried uninstalling it and then reinstalling it again, both with pip for the stable release and from the source using "python setup.py develop." But, I'm still stuck with this error:
tensordict.exclude(*self.keys_to_exclude, inplace=True) File "/home/onur/Downloads/tensordict/tensordict/base.py", line 4343, in exclude result = self._exclude(*keys, inplace=inplace) File "/home/onur/Downloads/tensordict/tensordict/_td.py", line 2045, in _exclude val = val._exclude( File "/home/onur/Downloads/tensordict/tensordict/_td.py", line 2045, in _exclude val = val._exclude( AttributeError: 'Tensor' object has no attribute '_exclude'
I also tried version 0.4.0, thinking it might fix things. But it turns out it needs Torch 2.2.0, which doesn't play nice with Isaac Orbit and now I'm seeing compatibility issues.
Got any ideas on how to get around this problem? Would really appreciate your input.
Thanks a bunch!
Hi. I found that the problem was with the usage of CatTensors
Transform for concatenating the intrinsic parameters together. in train.py
. The PR should have fixed it. Just run git pull
under OmniDrones
.
from omnidrones.
It works now. Thanks for the help!
from omnidrones.
Related Issues (20)
- Question about the use of custom environment HOT 4
- Deployment on server HOT 6
- train_lidar.py KeyError: 'Forest' HOT 3
- ERROR when running "python train.py task=Hover headless=false"
- Incompatibility HOT 2
- Error when import omni
- System Requirements
- TDMPC Error HOT 4
- Hardware Configuration HOT 3
- Stable_baselines3 HOT 2
- Support customizing payload in PayloadTrack HOT 2
- feat: ros1 odometry graph
- Error when initialize drone with "track_contact_forces: bool = True"
- Question about test_rate_controller.py
- wait too long when run train.py
- Error when run Formation task HOT 3
- All Off-policy for Single agent are unavailable (td3, sac etc.)
- AttributeError: 'NoneType' object has no attribute 'GetPath'
- Error running "python train.py algo=ppo task=Payload/PayloadTrack headless=true wandb.entity=atahirkarasahin-xxxx"
- Error when running python train.py task=Hover total_frames=100_000_000 eval_interval=60 headless=true
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 omnidrones.