You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the sklearn.metrics.pairwise.haversine_distances as the cost for SamplesLoss, in order to calculate the EMD for spherical distributions (see [https://arxiv.org/abs/2012.11116](EMLight: Lighting Estimation via Spherical Distribution)).
I am feeding in the sample locations in spherical coordinates (angles - dimensions [M,2]). The problem is when computing C_xx, C_yy, C_xy, C_yx, the cost function cannot do this for batches. What is the best way to efficiently implement this?
The text was updated successfully, but these errors were encountered:
I am trying to use the
sklearn.metrics.pairwise.haversine_distances
as the cost for SamplesLoss, in order to calculate the EMD for spherical distributions (see [https://arxiv.org/abs/2012.11116](EMLight: Lighting Estimation via Spherical Distribution)).I am feeding in the sample locations in spherical coordinates (angles - dimensions [M,2]). The problem is when computing C_xx, C_yy, C_xy, C_yx, the cost function cannot do this for batches. What is the best way to efficiently implement this?
The text was updated successfully, but these errors were encountered: