Spaces:
Runtime error
Runtime error
AnujPanthri
commited on
Commit
·
273ffa7
1
Parent(s):
a36040c
added download_model_comet.py code
Browse files- download_model_comet.py +15 -0
- requirements.txt +77 -4
download_model_comet.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from comet_ml.api import API
|
| 2 |
+
from src.utils.config_loader import constants
|
| 3 |
+
|
| 4 |
+
api = API()
|
| 5 |
+
|
| 6 |
+
# set env variable COMET_API_KEY
|
| 7 |
+
|
| 8 |
+
api.download_registry_model(
|
| 9 |
+
"anujpanthri",
|
| 10 |
+
"image-colorization-model",
|
| 11 |
+
version="1.0.0",
|
| 12 |
+
output_path=constants.ARTIFACT_MODEL_DIR,
|
| 13 |
+
expand=True,
|
| 14 |
+
stage=None,
|
| 15 |
+
)
|
requirements.txt
CHANGED
|
@@ -1,4 +1,77 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
absl-py==2.1.0
|
| 2 |
+
astunparse==1.6.3
|
| 3 |
+
attrs==23.2.0
|
| 4 |
+
Cerberus==1.3.5
|
| 5 |
+
certifi==2024.2.2
|
| 6 |
+
charset-normalizer==3.3.2
|
| 7 |
+
comet-ml==3.42.1
|
| 8 |
+
configobj==5.0.8
|
| 9 |
+
contourpy==1.2.1
|
| 10 |
+
cycler==0.12.1
|
| 11 |
+
dulwich==0.22.1
|
| 12 |
+
everett==3.1.0
|
| 13 |
+
filelock==3.14.0
|
| 14 |
+
flatbuffers==24.3.25
|
| 15 |
+
fonttools==4.51.0
|
| 16 |
+
fsspec==2024.5.0
|
| 17 |
+
gast==0.5.4
|
| 18 |
+
google-pasta==0.2.0
|
| 19 |
+
grpcio==1.64.0
|
| 20 |
+
h5py==3.11.0
|
| 21 |
+
huggingface-hub==0.23.1
|
| 22 |
+
idna==3.7
|
| 23 |
+
imageio==2.34.1
|
| 24 |
+
joblib==1.4.2
|
| 25 |
+
jsonschema==4.22.0
|
| 26 |
+
jsonschema-specifications==2023.12.1
|
| 27 |
+
keras==3.3.3
|
| 28 |
+
kiwisolver==1.4.5
|
| 29 |
+
lazy_loader==0.4
|
| 30 |
+
libclang==18.1.1
|
| 31 |
+
Markdown==3.6
|
| 32 |
+
markdown-it-py==3.0.0
|
| 33 |
+
MarkupSafe==2.1.5
|
| 34 |
+
matplotlib==3.9.0
|
| 35 |
+
mdurl==0.1.2
|
| 36 |
+
ml-dtypes==0.3.2
|
| 37 |
+
namex==0.0.8
|
| 38 |
+
networkx==3.3
|
| 39 |
+
numpy==1.26.4
|
| 40 |
+
opencv-python==4.9.0.80
|
| 41 |
+
opt-einsum==3.3.0
|
| 42 |
+
optree==0.11.0
|
| 43 |
+
packaging==24.0
|
| 44 |
+
pillow==10.3.0
|
| 45 |
+
protobuf==4.25.3
|
| 46 |
+
psutil==5.9.8
|
| 47 |
+
Pygments==2.18.0
|
| 48 |
+
pyparsing==3.1.2
|
| 49 |
+
python-box==6.1.0
|
| 50 |
+
python-dateutil==2.9.0.post0
|
| 51 |
+
PyYAML==6.0.1
|
| 52 |
+
referencing==0.35.1
|
| 53 |
+
requests==2.32.2
|
| 54 |
+
requests-toolbelt==1.0.0
|
| 55 |
+
rich==13.7.1
|
| 56 |
+
rpds-py==0.18.1
|
| 57 |
+
scikit-image==0.23.2
|
| 58 |
+
scikit-learn==1.5.0
|
| 59 |
+
scipy==1.13.1
|
| 60 |
+
semantic-version==2.10.0
|
| 61 |
+
sentry-sdk==2.2.1
|
| 62 |
+
setuptools==69.2.0
|
| 63 |
+
simplejson==3.19.2
|
| 64 |
+
six==1.16.0
|
| 65 |
+
tensorboard==2.16.2
|
| 66 |
+
tensorboard-data-server==0.7.2
|
| 67 |
+
tensorflow==2.16.1
|
| 68 |
+
termcolor==2.4.0
|
| 69 |
+
threadpoolctl==3.5.0
|
| 70 |
+
tifffile==2024.5.10
|
| 71 |
+
tqdm==4.66.4
|
| 72 |
+
typing_extensions==4.11.0
|
| 73 |
+
urllib3==2.2.1
|
| 74 |
+
Werkzeug==3.0.3
|
| 75 |
+
wheel==0.43.0
|
| 76 |
+
wrapt==1.16.0
|
| 77 |
+
wurlitzer==3.1.0
|