openpi icon indicating copy to clipboard operation
openpi copied to clipboard

About cache directory

Open NNNatsuki opened this issue 1 year ago • 1 comments

When I run compute_norm_stats.py, I want to use only local data and have changed the HF_HOME variable. However, the code still looks for the default .cache/ directory during execution. How can I solve this problem? Your insights and help in resolving this issue would be extremely valuable and deeply appreciated.

NNNatsuki avatar Feb 26 '25 02:02 NNNatsuki

Got it! I tried set both HF_HOME or HF_LEROBOT_HOME but don't work.

How I solve it is set the root in lerobot_dataset.LeRobotDatasetMetadata and lerobot_dataset.LeRobotDataset.

Alex-Beh avatar Apr 15 '25 12:04 Alex-Beh