robotics-diffusion-transformer commited on
Commit
cd542b1
·
verified ·
1 Parent(s): 69cfdc9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -76,7 +76,8 @@ model = create_model(
76
 
77
  # Start inference process
78
  # Load the pre-computed language embeddings
79
- lang_embeddings_path = 'your/language/embedding/path'
 
80
  text_embedding = torch.load(lang_embeddings_path)['embeddings']
81
  images: List(PIL.Image) = ... # The images from last 2 frames
82
  proprio = ... # The current robot state
 
76
 
77
  # Start inference process
78
  # Load the pre-computed language embeddings
79
+ # Refer to scripts/encode_lang.py for how to encode the language instruction
80
+ lang_embeddings_path = 'your/language/embedding/path'
81
  text_embedding = torch.load(lang_embeddings_path)['embeddings']
82
  images: List(PIL.Image) = ... # The images from last 2 frames
83
  proprio = ... # The current robot state