Add tt/test.txt
Browse files- tt/test.txt +55 -0
tt/test.txt
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
# First, set your HF_TOKEN in .env file:
|
| 3 |
+
# HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxx
|
| 4 |
+
|
| 5 |
+
# -------- UPLOAD --------
|
| 6 |
+
python hf_upload.py \
|
| 7 |
+
--repo-id imAniksahA/blab \
|
| 8 |
+
--local-path ./cmd.txt \
|
| 9 |
+
--path-in-repo tt/test.txt
|
| 10 |
+
|
| 11 |
+
python hf_upload.py \
|
| 12 |
+
--repo-id imAniksahA/mytest \
|
| 13 |
+
--local-path ./cmd.txt \
|
| 14 |
+
--path-in-repo pp/test.txt
|
| 15 |
+
|
| 16 |
+
python ~/utils/hf-data-transfer/hf_upload.py \
|
| 17 |
+
--repo-id imAniksahA/blab \
|
| 18 |
+
--local-path /mnt/disk2/connectomics/datasets/labeled_datasets.zip \
|
| 19 |
+
--path-in-repo c/d/labeled/v2/labeled_datasets.zip
|
| 20 |
+
|
| 21 |
+
# sudo apt update
|
| 22 |
+
# sudo apt install -y aria2
|
| 23 |
+
|
| 24 |
+
# -------- DOWNLOAD --------
|
| 25 |
+
# (works for both public and private repos if HF_TOKEN is set in .env)
|
| 26 |
+
./hf_download.sh \
|
| 27 |
+
--repo-id imAniksahA/blab \
|
| 28 |
+
--path-in-repo test/a.txt \
|
| 29 |
+
--local-path ~/Desktop/aa/bb/test.txt
|
| 30 |
+
|
| 31 |
+
./hf_download.sh \
|
| 32 |
+
--repo-id imAniksahA/blab \
|
| 33 |
+
--path-in-repo unlabeled_processed_1.7M.zip
|
| 34 |
+
|
| 35 |
+
./hf_download.sh \
|
| 36 |
+
--repo-id imAniksahA/blab \
|
| 37 |
+
--path-in-repo models/ddp_test/20251221_183100/checkpoint_last.pth
|
| 38 |
+
|
| 39 |
+
# ~/utils/hf-data-transfer/hf_download.sh \
|
| 40 |
+
--repo-id imAniksahA/blab \
|
| 41 |
+
--path-in-repo d/labeled_datasets.zip \
|
| 42 |
+
--local-path ~/connectomics/datasets/labeled_datasets.zip
|
| 43 |
+
|
| 44 |
+
~/utils/hf-data-transfer/hf_download.sh \
|
| 45 |
+
--repo-id imAniksahA/blab \
|
| 46 |
+
--path-in-repo c/d/labeled/v2/labeled_datasets.zip \
|
| 47 |
+
--local-path ~/connectomics/datasets/labeled_datasets.zip
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
./hf_download.sh \
|
| 53 |
+
--repo-id imAniksahA/mytest \
|
| 54 |
+
--path-in-repo pp/test.txt \
|
| 55 |
+
--local-path ~/Desktop/aa/bb/test.txt
|