Spaces:
Runtime error
Runtime error
1.2.0
Browse files- lrt/utils/functions.py +1 -1
lrt/utils/functions.py
CHANGED
@@ -57,7 +57,7 @@ def __create_model__(model_ckpt):
|
|
57 |
return tmp[0].cpu().detach().numpy(), tmp[1].cpu().detach().numpy()
|
58 |
return ret
|
59 |
elif model_ckpt == 'pca':
|
60 |
-
pca = template.dimension_reduction[model_ckpt](0.
|
61 |
return pca
|
62 |
|
63 |
elif model_ckpt =='kmeans-euclidean':
|
|
|
57 |
return tmp[0].cpu().detach().numpy(), tmp[1].cpu().detach().numpy()
|
58 |
return ret
|
59 |
elif model_ckpt == 'pca':
|
60 |
+
pca = template.dimension_reduction[model_ckpt](0.95)
|
61 |
return pca
|
62 |
|
63 |
elif model_ckpt =='kmeans-euclidean':
|