Views
No views yet
# Monkey-patch torch.load to disable weights_only mode.
old_torch_load = torch.load
def patched_torch_load(*args, **kwargs):
kwargs['weights_only'] = False
return old_torch_load(*args, **kwargs)
torch.load = patched_torch_loadpython -m sample_factory.huggingface.load_from_hub -r DarkDummo/rl_course_vizdoom_health_gathering_supremeenjoy script corresponding to this environment:python -m <path.to.enjoy.module> --algo=APPO --env=doom_health_gathering_supreme --train_dir=./train_dir --experiment=rl_course_vizdoom_health_gathering_supreme--push_to_hub flag.
See https://www.samplefactory.dev/10-huggingface/huggingface/ for more detailstrain script corresponding to this environment:python -m <path.to.train.module> --algo=APPO --env=doom_health_gathering_supreme --train_dir=./train_dir --experiment=rl_course_vizdoom_health_gathering_supreme --restart_behavior=resume --train_for_env_steps=10000000000--train_for_env_steps to a suitably high number as the experiment will resume at the number of steps it concluded at.