Views
No views yet



1# Example code to load safetensors
2from transformers import AutoModel
3
4model = AutoModel.from_pretrained("asRobotics/prosoro-mvae", prosoro_type="cylinder")
5x = torch.zeros((1, 6)) # Example input: batch size of 1, 6D motion
6output = model(x)1# Example code to load onnx
2import onnxruntime as ort
3import numpy as np
4from huggingface_hub import hf_hub_download
5
6onnx_model_path = hf_hub_download(repo_id="asRobotics/prosoro-mvae", filename="cylinder/model.onnx")
7ort_session = ort.InferenceSession(onnx_model_path)
8x = np.zeros((1, 6)).astype(np.float32) # Example input: batch size of 1, 6D motion
9outputs = ort_session.run(None, {"motion": x})1@article{han2025anchoring,
2 title={Anchoring Morphological Representations Unlocks Latent Proprioception in Soft Robots},
3 author={Han, Xudong and Guo, Ning and Xu, Ronghan and Wan, Fang and Song, Chaoyang},
4 journal={Advanced Intelligent Systems},
5 volume={0},
6 pages={0-0},
7 year={2025}
8}