Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- __pycache__/app.cpython-39.pyc +0 -0
- app.py +14 -15
- pytorch-image-models/timm/__pycache__/__init__.cpython-39.pyc +0 -0
- pytorch-image-models/timm/__pycache__/version.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/__init__.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/auto_augment.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/config.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/constants.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/dataset.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/dataset_factory.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/dataset_info.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/distributed_sampler.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/imagenet_info.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/loader.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/mixup.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/random_erasing.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/real_labels.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/transforms.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/__pycache__/transforms_factory.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/readers/__pycache__/__init__.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/readers/__pycache__/class_map.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/readers/__pycache__/img_extensions.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/readers/__pycache__/reader.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/readers/__pycache__/reader_factory.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/readers/__pycache__/reader_image_folder.cpython-39.pyc +0 -0
- pytorch-image-models/timm/data/readers/__pycache__/reader_image_in_tar.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/__init__.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/activations.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/activations_me.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/adaptive_avgmax_pool.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/attention2d.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/attention_pool.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/attention_pool2d.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/blur_pool.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/bottleneck_attn.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/cbam.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/classifier.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/cond_conv2d.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/config.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/conv2d_same.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/conv_bn_act.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/create_act.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/create_attn.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/create_conv2d.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/create_norm.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/create_norm_act.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/drop.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/eca.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/evo_norm.cpython-39.pyc +0 -0
- pytorch-image-models/timm/layers/__pycache__/fast_norm.cpython-39.pyc +0 -0
__pycache__/app.cpython-39.pyc
CHANGED
Binary files a/__pycache__/app.cpython-39.pyc and b/__pycache__/app.cpython-39.pyc differ
|
|
app.py
CHANGED
@@ -16,22 +16,21 @@ app = FastAPI()
|
|
16 |
def start_train():
|
17 |
os.system("echo 'Space started!'")
|
18 |
os.system("echo pwd")
|
19 |
-
|
20 |
os.system("echo ls")
|
21 |
-
subprocess.call("ls")
|
22 |
os.system("ls")
|
23 |
-
space_variables = API.get_space_variables(repo_id=REPO_ID)
|
24 |
-
if 'STATUS' not in space_variables or space_variables['STATUS'] != 'COMPUTING':
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
#API.pause_space(f"{REPO_ID}")
|
37 |
return {"Completed": "!"}
|
|
|
16 |
def start_train():
|
17 |
os.system("echo 'Space started!'")
|
18 |
os.system("echo pwd")
|
19 |
+
os.system("pwd")
|
20 |
os.system("echo ls")
|
|
|
21 |
os.system("ls")
|
22 |
+
#space_variables = API.get_space_variables(repo_id=REPO_ID)
|
23 |
+
#if 'STATUS' not in space_variables or space_variables['STATUS'] != 'COMPUTING':
|
24 |
+
os.system("echo 'Beginning processing.'")
|
25 |
+
# API.add_space_variable(repo_id=REPO_ID, key='STATUS', value='COMPUTING')
|
26 |
+
# Handles CUDA OOM errors.
|
27 |
+
os.system(f"export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True")
|
28 |
+
os.system("echo 'Okay, trying training.'")
|
29 |
+
os.system(f"cd pytorch-image-models; ./train.sh 4 --dataset hfds/{REPO_ID} --log-wandb --experiment {REPO_ID} --model seresnet34 --sched cosine --epochs 150 --warmup-epochs 5 --lr 0.4 --reprob 0.5 --remode pixel --batch-size 256 --amp -j 4")
|
30 |
+
os.system("echo ls")
|
31 |
+
os.system("ls")
|
32 |
+
os.system("echo 'trying to upload...'")
|
33 |
+
API.upload_folder(folder_path="/app", repo_id=f"{REPO_ID}", repo_type="dataset",)
|
34 |
+
# API.add_space_variable(repo_id=REPO_ID, key='STATUS', value='NOT_COMPUTING')
|
35 |
#API.pause_space(f"{REPO_ID}")
|
36 |
return {"Completed": "!"}
|
pytorch-image-models/timm/__pycache__/__init__.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/__pycache__/__init__.cpython-39.pyc and b/pytorch-image-models/timm/__pycache__/__init__.cpython-39.pyc differ
|
|
pytorch-image-models/timm/__pycache__/version.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/__pycache__/version.cpython-39.pyc and b/pytorch-image-models/timm/__pycache__/version.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/__init__.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/__init__.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/__init__.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/auto_augment.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/auto_augment.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/auto_augment.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/config.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/config.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/config.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/constants.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/constants.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/constants.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/dataset.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/dataset.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/dataset.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/dataset_factory.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/dataset_factory.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/dataset_factory.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/dataset_info.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/dataset_info.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/dataset_info.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/distributed_sampler.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/distributed_sampler.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/distributed_sampler.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/imagenet_info.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/imagenet_info.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/imagenet_info.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/loader.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/loader.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/loader.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/mixup.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/mixup.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/mixup.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/random_erasing.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/random_erasing.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/random_erasing.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/real_labels.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/real_labels.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/real_labels.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/transforms.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/transforms.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/transforms.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/__pycache__/transforms_factory.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/__pycache__/transforms_factory.cpython-39.pyc and b/pytorch-image-models/timm/data/__pycache__/transforms_factory.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/readers/__pycache__/__init__.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/readers/__pycache__/__init__.cpython-39.pyc and b/pytorch-image-models/timm/data/readers/__pycache__/__init__.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/readers/__pycache__/class_map.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/readers/__pycache__/class_map.cpython-39.pyc and b/pytorch-image-models/timm/data/readers/__pycache__/class_map.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/readers/__pycache__/img_extensions.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/readers/__pycache__/img_extensions.cpython-39.pyc and b/pytorch-image-models/timm/data/readers/__pycache__/img_extensions.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/readers/__pycache__/reader.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/readers/__pycache__/reader.cpython-39.pyc and b/pytorch-image-models/timm/data/readers/__pycache__/reader.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/readers/__pycache__/reader_factory.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/readers/__pycache__/reader_factory.cpython-39.pyc and b/pytorch-image-models/timm/data/readers/__pycache__/reader_factory.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/readers/__pycache__/reader_image_folder.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/readers/__pycache__/reader_image_folder.cpython-39.pyc and b/pytorch-image-models/timm/data/readers/__pycache__/reader_image_folder.cpython-39.pyc differ
|
|
pytorch-image-models/timm/data/readers/__pycache__/reader_image_in_tar.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/data/readers/__pycache__/reader_image_in_tar.cpython-39.pyc and b/pytorch-image-models/timm/data/readers/__pycache__/reader_image_in_tar.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/__init__.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/__init__.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/__init__.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/activations.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/activations.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/activations.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/activations_me.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/activations_me.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/activations_me.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/adaptive_avgmax_pool.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/adaptive_avgmax_pool.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/adaptive_avgmax_pool.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/attention2d.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/attention2d.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/attention2d.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/attention_pool.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/attention_pool.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/attention_pool.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/attention_pool2d.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/attention_pool2d.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/attention_pool2d.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/blur_pool.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/blur_pool.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/blur_pool.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/bottleneck_attn.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/bottleneck_attn.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/bottleneck_attn.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/cbam.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/cbam.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/cbam.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/classifier.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/classifier.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/classifier.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/cond_conv2d.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/cond_conv2d.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/cond_conv2d.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/config.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/config.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/config.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/conv2d_same.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/conv2d_same.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/conv2d_same.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/conv_bn_act.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/conv_bn_act.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/conv_bn_act.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/create_act.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/create_act.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/create_act.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/create_attn.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/create_attn.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/create_attn.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/create_conv2d.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/create_conv2d.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/create_conv2d.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/create_norm.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/create_norm.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/create_norm.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/create_norm_act.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/create_norm_act.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/create_norm_act.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/drop.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/drop.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/drop.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/eca.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/eca.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/eca.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/evo_norm.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/evo_norm.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/evo_norm.cpython-39.pyc differ
|
|
pytorch-image-models/timm/layers/__pycache__/fast_norm.cpython-39.pyc
CHANGED
Binary files a/pytorch-image-models/timm/layers/__pycache__/fast_norm.cpython-39.pyc and b/pytorch-image-models/timm/layers/__pycache__/fast_norm.cpython-39.pyc differ
|
|