generatect commited on
Commit
9fd9561
1 Parent(s): 7a28a51

Upload 35 files

Browse files
Files changed (35) hide show
  1. example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Bl56 S3_(512, 512).nii.gz +3 -0
  2. example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Bl56 S3_(512, 512)_metadata.json +7 -0
  3. example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Br40 S3_(512, 512).nii.gz +3 -0
  4. example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Br40 S3_(512, 512)_metadata.json +7 -0
  5. example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Bl56 S3_(512, 512).nii.gz +3 -0
  6. example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Bl56 S3_(512, 512)_metadata.json +7 -0
  7. example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Br40 S3_(512, 512).nii.gz +3 -0
  8. example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Br40 S3_(512, 512)_metadata.json +7 -0
  9. example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br40 S3_(512, 512).nii.gz +3 -0
  10. example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br40 S3_(512, 512)_metadata.json +7 -0
  11. example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br60 S3_(512, 512).nii.gz +3 -0
  12. example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br60 S3_(512, 512)_metadata.json +7 -0
  13. example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br40 S3_(512, 512).nii.gz +3 -0
  14. example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br40 S3_(512, 512)_metadata.json +7 -0
  15. example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br60 S3_(512, 512).nii.gz +3 -0
  16. example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br60 S3_(512, 512)_metadata.json +7 -0
  17. example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br40 S3_(512, 512).nii.gz +3 -0
  18. example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br40 S3_(512, 512)_metadata.json +7 -0
  19. example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br60 S3_(512, 512).nii.gz +3 -0
  20. example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br60 S3_(512, 512)_metadata.json +7 -0
  21. example_data/data_reports.xlsx +0 -0
  22. example_data/json_anonmyze.py +26 -0
  23. example_data/superres/cvivit_outputs/samples.BGC3109958/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz +3 -0
  24. example_data/superres/cvivit_outputs/samples.BGC3109958/Thorax 1,50 Br60 S3_(512, 512).nii.gz.nii.gz +3 -0
  25. example_data/superres/cvivit_outputs/samples.BGC3162381/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz +3 -0
  26. example_data/superres/cvivit_outputs/samples.BGC3162381/Thorax 1,50 Br60 S3_(512, 512).nii.gz.nii.gz +3 -0
  27. example_data/superres/cvivit_outputs/samples.BGC3176800/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz +3 -0
  28. example_data/superres/cvivit_outputs/samples.BGC3176800/Thorax 1,50 Br60 S3_(512, 512).nii.gz.nii.gz +3 -0
  29. example_data/superres/cvivit_outputs/samples.BGC3212225/Thorax 1,50 Bl56 S3_(512, 512).nii.gz.nii.gz +3 -0
  30. example_data/superres/cvivit_outputs/samples.BGC3212225/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz +3 -0
  31. example_data/superres/cvivit_outputs/samples.BGC3515151/Thorax 1,50 Bl56 S3_(512, 512).nii.gz.nii.gz +3 -0
  32. example_data/superres/cvivit_outputs/samples.BGC3515151/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz +3 -0
  33. pretrained_models/ctvit_pretrained.pt +3 -0
  34. pretrained_models/superres_pretrained.pt +3 -0
  35. pretrained_models/transformer_pretrained.pt +3 -0
example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Bl56 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:143c886ae8be6f75c5df6a0054459c7c13ac50ed36e016c849c20a8fa6a94699
3
+ size 103864842
example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Bl56 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "077Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Br40 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f8e36fd8f2397502cc86bddeab8202c7fc9d27dcbdda644f377de771e9e0595
3
+ size 89590275
example_data/ctvit-transformer/1/BGC3212225/Thorax 1,50 Br40 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "077Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Bl56 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adccf8e4e43355d1183b59fe5f81d7d0d49ca7c0cc1dba1380adf526bebee4f6
3
+ size 100788039
example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Bl56 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "078Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Br40 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd98296ef8f9fba9568dd65a49b18ad13f39182df50bb7abebbb2bee4df3c4ff
3
+ size 84978059
example_data/ctvit-transformer/1/BGC3515151/Thorax 1,50 Br40 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "078Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br40 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36bd2e7ca11a9ccefa2c8ee75a1a79e87ace98fd556b6b816eb79e3e556bf977
3
+ size 94455804
example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br40 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "059Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br60 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3307be9e67209e3f342c7b0d3334bac5eebb9b1419f8ae0dabf076344a1b1d99
3
+ size 106563805
example_data/ctvit-transformer/2/BGC3109958/Thorax 1,50 Br60 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "059Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br40 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9231b4346a58e9ab67ec2de127b8aa04dbb018d503e2674c280670f08cb1ad86
3
+ size 99361300
example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br40 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "059Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br60 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e7c0d9b18d86895ccd92f421435543fd057b9937e621d26750e312805c32f3c
3
+ size 112529862
example_data/ctvit-transformer/2/BGC3162381/Thorax 1,50 Br60 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "059Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br40 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a46faaefe608a6e3c765cf496a29f7bf2ff19d053b96d4665709637c1280afd
3
+ size 99389652
example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br40 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "059Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br60 S3_(512, 512).nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35039cdf0d34ad3f57b637c8af39049c4134b928ed4708118801c1197470213b
3
+ size 113296565
example_data/ctvit-transformer/2/BGC3176800/Thorax 1,50 Br60 S3_(512, 512)_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "PatientAge": "059Y",
3
+ "PatientSex": "M",
4
+ "Manufacturer": "Siemens Healthineers",
5
+ "RescaleIntercept": "-8192",
6
+ "RescaleSlope": "1"
7
+ }
example_data/data_reports.xlsx ADDED
Binary file (13.1 kB). View file
 
example_data/json_anonmyze.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import json
3
+
4
+ def process_json_file(file_path):
5
+ # Read the JSON file
6
+ with open(file_path, 'r') as file:
7
+ data = json.load(file)
8
+
9
+ # Extract the desired keys
10
+ desired_keys = ["PatientAge", "PatientSex", "Manufacturer", "RescaleIntercept", "RescaleSlope"]
11
+ cleaned_data = {key: data[key] for key in desired_keys if key in data}
12
+
13
+ # Write the cleaned JSON back to the file
14
+ with open(file_path, 'w') as file:
15
+ json.dump(cleaned_data, file, indent=4)
16
+
17
+ def scan_folder(folder_path):
18
+ for root, dirs, files in os.walk(folder_path):
19
+ for file in files:
20
+ if file.endswith('.json'):
21
+ file_path = os.path.join(root, file)
22
+ process_json_file(file_path)
23
+
24
+ # Provide the folder path to start the scanning
25
+ folder_path = 'ctvit-transformer'
26
+ scan_folder(folder_path)
example_data/superres/cvivit_outputs/samples.BGC3109958/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:935954cb4133f7fbf1ca82888c1a7a707cbd63510a4f554b1d97ecbffe8ef645
3
+ size 12101380
example_data/superres/cvivit_outputs/samples.BGC3109958/Thorax 1,50 Br60 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23703dc0940f0a329137c72c6d998e52197f8cdfcd99f7f35f1f22797561b1dd
3
+ size 12107578
example_data/superres/cvivit_outputs/samples.BGC3162381/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d58db258e35c1f0d0fd65c91e68922882236b6fdd8389c0e071e2785e4ed4e9f
3
+ size 11781736
example_data/superres/cvivit_outputs/samples.BGC3162381/Thorax 1,50 Br60 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27acf2448f55eb004557a006ac4ea3588776278a4a764430c9d2f8c8a1c80c90
3
+ size 11830415
example_data/superres/cvivit_outputs/samples.BGC3176800/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9d5ea694842cec7d2c90b2da0b77ba7750ad39a8dffdac9e14633ed955d9449
3
+ size 11907165
example_data/superres/cvivit_outputs/samples.BGC3176800/Thorax 1,50 Br60 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1abb8dd6c954367cb6826b182c2bef06adda8d7026170fda1322b7ad54b83148
3
+ size 11942052
example_data/superres/cvivit_outputs/samples.BGC3212225/Thorax 1,50 Bl56 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2b8e60ce95203ad65c6ded29d170db65fc35284072a672ee5825806b60826d2
3
+ size 11947767
example_data/superres/cvivit_outputs/samples.BGC3212225/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac021fa4464040c606aea7e5843c5c5eb2dcb999cdfabdc8f61a6006444501d0
3
+ size 11939895
example_data/superres/cvivit_outputs/samples.BGC3515151/Thorax 1,50 Bl56 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15508b64e91b7dbcc8b3a8620a876ea6251c3b401acd4d2e576a4fc0461f860e
3
+ size 11812871
example_data/superres/cvivit_outputs/samples.BGC3515151/Thorax 1,50 Br40 S3_(512, 512).nii.gz.nii.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9aadbb36e0b0ca0b4cf8de18dd529f10c315e43433fe883e1dca0a761814e543
3
+ size 11767594
pretrained_models/ctvit_pretrained.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f94b5a89349576b38e963e095cbacf3f5cadd82b83e3743438d5d3fbac48c7a
3
+ size 809862856
pretrained_models/superres_pretrained.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72a9bd00f2a8cbd36d0eabb81ec824b1a9592dceb38ed57e4283604080cd58fb
3
+ size 355885527
pretrained_models/transformer_pretrained.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec11745beb93c29330c570b6d7d188f76c2672eb8d1387c93b41db9937c29b86
3
+ size 351679548