|
--- |
|
license: mit |
|
--- |
|
|
|
# Nomagic Simple / Adversarial Box Model Checkpoints |
|
|
|
This is a repo to store the most important checkpoints of the `openpi` model. |
|
|
|
## Uploading checkpoints |
|
|
|
Since the checkpoints are huge, |
|
the fastest and most reliable way to upload them |
|
is by using the `upload-large-folder` command from `huggingface-cli`. |
|
|
|
To do so, you first have to log in with appropriate credentials |
|
(you need a token with write permissions to the target repository): |
|
|
|
``` |
|
huggingface-cli login |
|
``` |
|
|
|
Next, use `upload-large-folder`. |
|
For example, to upload the `checkpoints` directory to the remote repository, run: |
|
|
|
``` |
|
huggingface-cli upload-large-folder robotgeneralist/openpi-nomagic-multibox checkpoints --repo-type=model |
|
``` |
|
|
|
Note that there is no way to specify a target path where the data will be stored on the remote. |
|
The contents of the directory will be placed under the root directory. |
|
So, for example, if your local folder is organized like the following: |
|
|
|
``` |
|
checkpoints |
|
--some-dir |
|
--file1 |
|
--file2 |
|
``` |
|
|
|
after uploading to the remote, you will have: |
|
|
|
``` |
|
some-dir |
|
--file1 |
|
--file2 |
|
``` |
|
|
|
Luckily, you can still upload additional files later on. |
|
For example, if after the first upload you try to upload: |
|
|
|
``` |
|
checkpoints |
|
--some-dir |
|
--file3 |
|
--file4 |
|
``` |
|
|
|
the remote will become: |
|
|
|
``` |
|
some-dir |
|
--file1 |
|
--file2 |
|
--file3 |
|
--file4 |
|
``` |
|
|
|
Hence, even though slightly inconvenient, |
|
this seems to be the best method for uploading big checkpoints, |
|
because of its efficiency and robustness. |
|
|