Atharv Subhekar
commited on
Commit
•
f77bc3e
1
Parent(s):
1dbee86
Application Commit
Browse files- .gitattributes +1 -0
- app.py +1 -2
- model.safetensors +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -8,7 +8,6 @@ Original file is located at
|
|
8 |
"""
|
9 |
|
10 |
#!pip install gradio --quiet
|
11 |
-
pip3 -- quiet install safetensors
|
12 |
#!pip install -Uq transformers datasets timm accelerate evaluate
|
13 |
|
14 |
import gradio as gr
|
@@ -23,7 +22,7 @@ import matplotlib.pyplot as plt
|
|
23 |
import numpy as np
|
24 |
from PIL import Image
|
25 |
|
26 |
-
safe_tensors = hf_hub_download(repo_id="subhuatharva/swim-224-base-satellite-image-classification", filename="model.safetensors")
|
27 |
|
28 |
model_name = 'swin_s3_base_224'
|
29 |
# intialize the model
|
|
|
8 |
"""
|
9 |
|
10 |
#!pip install gradio --quiet
|
|
|
11 |
#!pip install -Uq transformers datasets timm accelerate evaluate
|
12 |
|
13 |
import gradio as gr
|
|
|
22 |
import numpy as np
|
23 |
from PIL import Image
|
24 |
|
25 |
+
safe_tensors = "model.safetensors" #hf_hub_download(repo_id="subhuatharva/swim-224-base-satellite-image-classification", filename="model.safetensors")
|
26 |
|
27 |
model_name = 'swin_s3_base_224'
|
28 |
# intialize the model
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9260b7fea1b294337bf416e2d541583d08abde1570a46100febfc60f189f33af
|
3 |
+
size 281529332
|