Spaces:
Build error
Build error
Add model files and readme
Browse files- README.md +10 -1
- app.py +1 -0
- checkpoints/clip/RN50x64.pt +3 -0
- checkpoints/head/RN50x64.pt +3 -0
README.md
CHANGED
@@ -1 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
title: {{CLIP-VQA for VizWiz 2022}}
|
2 |
+
emoji: {{👁️}}
|
3 |
+
colorFrom: {{gray}}
|
4 |
+
colorTo: {{indigo}}
|
5 |
+
sdk: {{gradio}}
|
6 |
+
app_file: app.py
|
7 |
+
pinned: false
|
8 |
+
---
|
9 |
+
|
10 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -69,6 +69,7 @@ else:
|
|
69 |
question_transforms = None
|
70 |
|
71 |
clip_model.eval()
|
|
|
72 |
|
73 |
|
74 |
def predict(img, text):
|
|
|
69 |
question_transforms = None
|
70 |
|
71 |
clip_model.eval()
|
72 |
+
model.eval()
|
73 |
|
74 |
|
75 |
def predict(img, text):
|
checkpoints/clip/RN50x64.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be1cfb55d75a9666199fb2206c106743da0f6468c9d327f3e0d0a543a9919d9c
|
3 |
+
size 1353500174
|
checkpoints/head/RN50x64.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2136b12a00cefd62b04a0623c07bceb9e7985fcccfc44f29d9f7c22ee762a4f
|
3 |
+
size 161678481
|