Spaces:
Runtime error
Runtime error
fix dimension problem
Browse files
conr.py
CHANGED
@@ -248,7 +248,7 @@ class CoNR():
|
|
248 |
(num_samples, num_pose_images, encoder_out.shape[1], encoder_out.shape[2], encoder_out.shape[3]))
|
249 |
|
250 |
# apply sigmoid after eval loss
|
251 |
-
pred["pose_parser"] = {"pred":UDPClip(encoder_out)}
|
252 |
|
253 |
|
254 |
return pred
|
|
|
248 |
(num_samples, num_pose_images, encoder_out.shape[1], encoder_out.shape[2], encoder_out.shape[3]))
|
249 |
|
250 |
# apply sigmoid after eval loss
|
251 |
+
pred["pose_parser"] = {"pred":UDPClip(encoder_out)[:,0,:,:,:]}
|
252 |
|
253 |
|
254 |
return pred
|