Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ rn50_embedding_pipeline = deepsparse.Pipeline.create(
|
|
19 |
task="embedding-extraction",
|
20 |
base_task="image-classification", # tells the pipeline to expect images and normalize input with ImageNet means/stds
|
21 |
model_path="zoo:cv/classification/resnet_v1-50/pytorch/sparseml/imagenet/channel20_pruned75_quant-none-vnni",
|
22 |
-
emb_extraction_layer=-3, # extracts last layer before projection head and softmax
|
23 |
)
|
24 |
|
25 |
def zip_ims(g):
|
|
|
19 |
task="embedding-extraction",
|
20 |
base_task="image-classification", # tells the pipeline to expect images and normalize input with ImageNet means/stds
|
21 |
model_path="zoo:cv/classification/resnet_v1-50/pytorch/sparseml/imagenet/channel20_pruned75_quant-none-vnni",
|
22 |
+
#emb_extraction_layer=-3, # extracts last layer before projection head and softmax
|
23 |
)
|
24 |
|
25 |
def zip_ims(g):
|