elliemci's picture
Upload folder using huggingface_hub
a8afe22 verified
Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
[2025-10-19 00:31:54,997][05777] register_encoder_factory: <function make_vizdoom_encoder at 0x785a3660e3e0>
[2025-10-19 00:31:55,569][05777] Loading existing experiment configuration from train_dir/deadly_corridor_experiment/config.json
[2025-10-19 00:31:55,570][05777] Overriding arg 'train_for_env_steps' with value 5000000 passed from command line
[2025-10-19 00:31:55,578][05777] Experiment dir train_dir/deadly_corridor_experiment already exists!
[2025-10-19 00:31:55,578][05777] Resuming existing experiment from train_dir/deadly_corridor_experiment...
[2025-10-19 00:31:55,578][05777] Weights and Biases integration enabled. Project: sample_factory, user: None, group: None, unique_id: deadly_corridor_experiment_20251018_043945_196881
[2025-10-19 00:31:58,148][05777] Initializing WandB...
wandb: WARNING `start_method` is deprecated and will be removed in a future version of wandb. This setting is currently non-functional and safely ignored.
[2025-10-19 00:31:58,172][05777] Exception thrown when attempting to run <function init_wandb.<locals>.init_wandb_func at 0x785a36525d00>, attempt 0 out of 3
[2025-10-19 00:31:59,182][05777] Exception thrown when attempting to run <function init_wandb.<locals>.init_wandb_func at 0x785a36525d00>, attempt 1 out of 3
[2025-10-19 00:32:01,192][05777] Exception thrown when attempting to run <function init_wandb.<locals>.init_wandb_func at 0x785a36525d00>, attempt 2 out of 3
[2025-10-19 00:32:05,202][05777] Could not initialize WandB! api_key not configured (no-tty). call wandb.login(key=[your_api_key])
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/local/lib/python3.12/dist-packages/sf_examples/vizdoom/train_vizdoom.py", line 48, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/dist-packages/sf_examples/vizdoom/train_vizdoom.py", line 43, in main
status = run_rl(cfg)
^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/sample_factory/train.py", line 32, in run_rl
cfg, runner = make_runner(cfg)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/sample_factory/train.py", line 23, in make_runner
runner = runner_cls(cfg)
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/sample_factory/algo/runners/runner_parallel.py", line 17, in __init__
super().__init__(cfg)
File "/usr/local/lib/python3.12/dist-packages/sample_factory/algo/runners/runner.py", line 135, in __init__
init_wandb(self.cfg) # should be done before writers are initialized
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/sample_factory/utils/wandb_utils.py", line 51, in init_wandb
init_wandb_func()
File "/usr/local/lib/python3.12/dist-packages/sample_factory/utils/utils.py", line 181, in newfn
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/sample_factory/utils/wandb_utils.py", line 36, in init_wandb_func
wandb.init(
File "/usr/local/lib/python3.12/dist-packages/wandb/sdk/wandb_init.py", line 1601, in init
wandb._sentry.reraise(e)
File "/usr/local/lib/python3.12/dist-packages/wandb/analytics/sentry.py", line 162, in reraise
raise exc.with_traceback(sys.exc_info()[2])
File "/usr/local/lib/python3.12/dist-packages/wandb/sdk/wandb_init.py", line 1523, in init
wi.maybe_login(init_settings)
File "/usr/local/lib/python3.12/dist-packages/wandb/sdk/wandb_init.py", line 190, in maybe_login
wandb_login._login(
File "/usr/local/lib/python3.12/dist-packages/wandb/sdk/wandb_login.py", line 320, in _login
key, key_status = wlogin.prompt_api_key(referrer=referrer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/wandb/sdk/wandb_login.py", line 245, in prompt_api_key
raise UsageError("api_key not configured (no-tty). call " + directive)
wandb.errors.errors.UsageError: api_key not configured (no-tty). call wandb.login(key=[your_api_key])