geomloss icon indicating copy to clipboard operation
geomloss copied to clipboard

question about the error : arange: cannot compute length

Open liangaomng opened this issue 1 year ago • 3 comments

def epsilon_schedule(p, diameter, blur, scaling): 117 r"""Creates a list of values for the temperature "epsilon" across Sinkhorn iterations. 118 119 We use an aggressive strategy with an exponential cooling (...) 140 list of float: list of values for the temperature epsilon. 141 """ 142 eps_list = ( 143 [diameter ** p] 144 + [ 145 np.exp(e) --> 146 for e in np.arange( 147 p * np.log(diameter), p * np.log(blur), p * np.log(scaling) 148 ) 149 ] 150 + [blur ** p] 151 ) 152 return eps_list

ValueError: arange: cannot compute length

liangaomng avatar Oct 27 '23 00:10 liangaomng

so did you solve this problem? I have the same problem.

foolishman-wx avatar Jan 25 '24 02:01 foolishman-wx

so did you solve this problem? I have the same problem.

no...

liangaomng avatar Jan 25 '24 03:01 liangaomng

I also encountered this issue. Did you solve it now?

so did you solve this problem? I have the same problem.

no...

I also encountered this issue. Did you solve it now?

hhuang-code avatar May 19 '24 05:05 hhuang-code