Views
No views yet
checkpoints/
color_object/
step_30000/
config.json
diffusion_pytorch_model.safetensors # action model checkpoint (step 30000)
configs/ # YAML configs and JSON stats for all tasks
data/ # dataset classes (LeRobot-format, LIBERO, AgiBotWorld)
experiments/ # eval scripts for Calvin and LIBERO
models/ # LTX, Cosmos, pipeline, action patch modules
runner/ # ge_trainer.py, ge_inferencer.py
scripts/ # train.sh, infer.sh, get_statistics.py
utils/ # misc utilities
web_infer_utils/ # web inference server and client
main.py # training entry point
requirements.txt1git clone https://huggingface.co/yqi19/genie_envisioner
2cd genie_envisioner
3pip install -r requirements.txtpretrained_model_name_or_path in the config (see step 3).checkpoints/color_object/step_30000/diffusion_pytorch_model.safetensors
checkpoints/color_object/step_30000/config.json1from huggingface_hub import snapshot_download
2snapshot_download(
3 repo_id="yqi19/genie_envisioner",
4 local_dir="./genie_envisioner",
5)configs/ltx_model/conflict/action_model_color_object.yaml and set:1# Path to LTX-Video base model (tokenizer, text encoder, VAE)
2pretrained_model_name_or_path: /path/to/LTX-Video
3
4# Point to the downloaded checkpoint
5diffusion_model:
6 model_path: checkpoints/color_object/step_30000data.train.data_roots and data.val.data_roots fields to point to
your local color_object dataset (LeRobot format).1import torch
2from runner.ge_inferencer import Inferencer
3
4inferencer = Inferencer(
5 config_file="configs/ltx_model/conflict/action_model_color_object.yaml",
6 output_dir="./inference_output",
7 weight_dtype=torch.bfloat16,
8 device="cuda:0",
9)
10
11inferencer.prepare_models()
12inferencer.prepare_val_dataset()
13
14inferencer.infer(
15 n_chunk_action=10, # number of sequential action chunks to predict
16 n_validation=1, # number of validation episodes
17)./inference_output/<timestamp>/Inference/:Validation_0_gt.mp4 — ground truth videoValidation_0.mp4 — generated video (if return_video: true)openloop_evaluation_val0.png — open-loop action prediction plot| Field | Description |
|---|---|
pretrained_model_name_or_path | Path to LTX-Video base model |
diffusion_model.model_path | Path to the action model checkpoint directory |
return_action | true to predict actions |
return_video | true to generate future video frames |
num_inference_step | Diffusion denoising steps (default: 5) |
data.train.action_chunk | Number of actions predicted per inference step (default: 9) |
data.train.n_previous | Number of conditioning frames (default: 4) |
data.train.stat_file | Path to action normalization stats JSON |
1# Edit checkpoint and config paths in experiments/eval_calvin.sh first
2bash experiments/eval_calvin.sh1# Edit checkpoint and config paths in experiments/eval_libero.sh first
2bash experiments/eval_libero.sh