Spaces:
Sleeping
Sleeping
gpu
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ for model_info in models_info:
|
|
87 |
|
88 |
x = load_data()
|
89 |
test_imgs, points = load_keypoints()
|
90 |
-
|
91 |
model_index = 0
|
92 |
|
93 |
# ヒートマップの生成関数
|
@@ -149,6 +149,7 @@ def setup(model_info, input_image=None):
|
|
149 |
|
150 |
feature_map, _ = models[model_index](test_imgs)
|
151 |
mean_vector_list = utils.get_mean_vector(feature_map, points)
|
|
|
152 |
|
153 |
if input_image is not None:
|
154 |
fig = get_heatmaps(0, image_size // 2, image_size // 2, input_image)
|
|
|
87 |
|
88 |
x = load_data()
|
89 |
test_imgs, points = load_keypoints()
|
90 |
+
mean_vectors_list = []
|
91 |
model_index = 0
|
92 |
|
93 |
# ヒートマップの生成関数
|
|
|
149 |
|
150 |
feature_map, _ = models[model_index](test_imgs)
|
151 |
mean_vector_list = utils.get_mean_vector(feature_map, points)
|
152 |
+
print("mean_vector_list", mean_vector_list)
|
153 |
|
154 |
if input_image is not None:
|
155 |
fig = get_heatmaps(0, image_size // 2, image_size // 2, input_image)
|