MrGiovanni commited on
Commit
2389530
1 Parent(s): 1a4066a

Upload folder using huggingface_hub (#1)

Browse files

- a21375a40866746a0a9f1538256f3dd7e7c5d9507edf2440ba653be2598380aa (b3c669a00a175e360e71bfde062fea5c02e8fe86)
- 2c4f1a0b6db80fb74def83afdbae8fd1ab70e2d74a2dfbe792fd7b1e0a21e42c (d76218c630c86df939fca9b18fc3e077d5b33c3a)

.DS_Store ADDED
Binary file (6.15 kB). View file
 
AutoencoderModel/AutoencoderModel.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be83639891cc1f14527feadef9484b2d3887fc5f513b4026a90faa230856ffed
3
+ size 242617007
DiffusionModel/.DS_Store ADDED
Binary file (6.15 kB). View file
 
DiffusionModel/kidney_early.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80c35a1cae950ee4511c1e8525f354f35f794f0793c321db3066aae1b1096b21
3
+ size 290138333
DiffusionModel/kidney_noearly.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63956bc86e60da98d8412137fbf64453d52a25631931300cb671ecd31b3abdd9
3
+ size 290156765
DiffusionModel/liver_early.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0135000f031f741252b3e706748b674d33e7278402a7cb2500fec5f4966847bd
3
+ size 290138333
DiffusionModel/liver_noearly.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a21980e53efd6758ae92e79a82668f0e1e6d9b52fdf6b2a709cb929ebedb3b
3
+ size 290156765
DiffusionModel/pancreas_early.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2e49a10fd2e670b86cdd8411d559b57eece50bd687266c18657b54bb73feb8
3
+ size 290138333
DiffusionModel/pancreas_noearly.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:185239c5a1b0c03334c09e77ec0126bef221a58c5f7685b59013d57c7f5f9a3f
3
+ size 290156765
SegmentationModel/nnunet_synt_kidney_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3634b8f2334a0aba755733cb3b22f9490b1661a55e0826443d269511ae26eb0
3
+ size 66176221
SegmentationModel/nnunet_synt_liver_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a4e2085e30d6b3e8574056e1236757e2571a18a49b6e6946ae31078a4721777
3
+ size 66176221
SegmentationModel/nnunet_synt_pancreas_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f86ac8a5d334a17caad09845de19a5b593b2eae1cc20c31279b9afbb83cb7dc6
3
+ size 66176157
SegmentationModel/swinunetr_synt_kidney_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f8482382bd362aed1d5e7c91738de1e4ff1ac1819c23a6c21b2db776680e41e
3
+ size 256346175
SegmentationModel/swinunetr_synt_liver_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0059fdcae59f1c8ea74f5956c199e1fa0420f7716ca0216018980099025756df
3
+ size 256346175
SegmentationModel/swinunetr_synt_pancreas_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:987170179a0853889c6931acc56091b6e7d12e4c5e899b059d6073b373ed9702
3
+ size 256346175
SegmentationModel/unet_synt_kidney_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdddfcee607a21703b413198495df77328b68351dd7522648216c6599dbbb4a6
3
+ size 19260008
SegmentationModel/unet_synt_liver_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b9c5ce10508151e0cb36ec0082b635e03eb86f65022c4f454708da7bdb25445
3
+ size 19260008
SegmentationModel/unet_synt_pancreas_tumors.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3d7ca09aa57ce20e3537c5dfae611b4759bbd000f626fcb2d4bb180b1090d5d
3
+ size 19260008
uploading_files_to_hugging_face.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''
2
+ python uploading_files_to_hugging_face.py --folder_directory /path/to/your/folder --repository MrGiovanni/AbdomenAtlasInternal --repository_type dataset
3
+ '''
4
+
5
+ import huggingface_hub
6
+ import argparse
7
+
8
+ def main(args):
9
+ huggingface_hub.upload_folder(
10
+ folder_path=args.folder_directory,
11
+ repo_id=args.repository,
12
+ repo_type=args.repository_type,
13
+ multi_commits=True,
14
+ multi_commits_verbose=True
15
+ )
16
+
17
+ if __name__ == "__main__":
18
+
19
+ parser = argparse.ArgumentParser()
20
+ parser.add_argument('--folder_directory',
21
+ dest='folder_directory',
22
+ type=str,
23
+ default='/Users/zongwei.zhou/Desktop/AbdomenAtlasInternal',
24
+ help='the directory of the AbdomenAtlas dataset',
25
+ )
26
+ parser.add_argument('--repository',
27
+ dest='repository',
28
+ type=str,
29
+ default='MrGiovanni/AbdomenAtlasInternal',
30
+ help='repository directory',
31
+ )
32
+ parser.add_argument('--repository_type',
33
+ dest='repository_type',
34
+ type=str,
35
+ default='dataset',
36
+ help='the type of repository',
37
+ )
38
+ args = parser.parse_args()
39
+
40
+ main(args)