File size: 684 Bytes
80bb71c
 
 
 
 
 
 
1
2
3
4
5
6
7
8
# Humanoid Brain Integration Steps

1) Install: pip install torch torchvision pillow numpy && git clone https://github.com/krishthesmart/humanoid-brain.git && cd humanoid-brain
2) Download model: https://huggingface.co/theakboysca/humanoid-brain-v1 (save as model.pt)
3) Test: python -m humanoid_brain.examples.demo_inference --weights model.pt --image /path/to/test_image.jpg --device cpu
4) Integrate: from humanoid_brain.sdk.inference_api import load_brain; brain=load_brain("model.pt",device="cpu"); decision=brain.decide(image=rgb_frame,robot_state=robot_state,env_state=env_state)
5) Output: task in [cleaning,cooking,dishwashing,laundry,organizing], sub_goals for motion stack