Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output cannot capture error log. #15

Open
Tramac opened this issue Sep 23, 2024 · 0 comments
Open

Output cannot capture error log. #15

Tramac opened this issue Sep 23, 2024 · 0 comments

Comments

@Tramac
Copy link

Tramac commented Sep 23, 2024

When executing python3 eureka.py env=forward_locomotion, the Traceback log cannot be captured, resulting in an infinite while loop in block_until_training.

command: ['python3', '-u', '/home/code/DrEureka/eureka/../forward_locomotion/scripts/train.py', '--iterations', '1000', '--dr-config', 'off', '--reward-config', 'eureka', '--no-wandb'.

Total log in env_iter0_response0.txtas follows:

ML_LOGGER_USER is not set. This is required for online usage.
to_value is: >>> True
creating new logging client...
✓ created a new logging client
Dashboard: http://app.dash.ml/forward_locomotion/2024-09-23/train/103214.177386
Log_directory: /home/code/DrEureka/forward_locomotion/runs
Importing module 'gym_38' (/home/code/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /home/code/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
PyTorch version 2.0.0+cu117
Device count 1
/home/code/isaacgym/python/isaacgym/_bindings/src/gymtorch
Using /home/.cache/torch_extensions/py38_cu117 as PyTorch extensions root...
Emitting ninja build file /home/.cache/torch_extensions/py38_cu117/gymtorch/build.ninja...
Building extension module gymtorch...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module gymtorch...
Running with graphics rendering enabled, this might seg fault on headless compute
[Warning] [carb.gym.plugin] useGpuPipeline is set, forcing GPU PhysX
Not connected to PVD
+++ Using GPU PhysX
Physics Engine: PhysX
Physics Device: cuda:0
GPU Pipeline: enabled

However, when executing python3 -u /home/code/DrEureka/eureka/../forward_locomotion/scripts/train.py --iterations 1000 --dr-config off --reward-config eureka --no-wandb directly in the terminal, the Traceback log can be output. as follows:

Traceback (most recent call last):
    File "/home/code/DrEureka/eureka/../forward_locomotion/scripts/train.py", line 126, in <module>
        train_mc(iterations=args.iterations, command_config=args.command_config, reward_config=args.reward_config, dr_config=args.dr_config, eureka_target_velocity=args.eureka_target_velocity,
        ...
AttributeError: 'EurekaReward' object has no attribute 'feet_indices'

It's very confusing, please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant