|
Download diffusers/examples/rl/README.md from basyd/sfx: direct link, hf CLI and curl.
- Browser
- Download file 826 Bytes
-
https://huggingface.co/spaces/basyd/sfx/resolve/main/diffusers/examples/rl/README.md
- Command line
-
hf download hf://spaces/basyd/sfx/diffusers/examples/rl/README.md
-
curl -L -o README.md https://huggingface.co/spaces/basyd/sfx/resolve/main/diffusers/examples/rl/README.md
826 Bytes
A newer version of the Gradio SDK is available: 6.29.0
Overview
These examples show how to run Diffuser in Diffusers.
There are two ways to use the script, run_diffuser_locomotion.py.
The key option is a change of the variable n_guide_steps.
When n_guide_steps=0, the trajectories are sampled from the diffusion model, but not fine-tuned to maximize reward in the environment.
By default, n_guide_steps=2 to match the original implementation.
You will need some RL specific requirements to run the examples:
pip install -f https://download.pytorch.org/whl/torch_stable.html \
free-mujoco-py \
einops \
gym==0.24.1 \
protobuf==3.20.1 \
git+https://github.com/rail-berkeley/d4rl.git \
mediapy \
Pillow==9.0.0