jeanfeydy / geomloss

Geometric loss functions between point clouds, images and volumes
MIT License
598 stars 60 forks source link

question about the error : arange: cannot compute length #73

Open liangaomng opened 1 year ago

liangaomng commented 1 year ago

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

foolishman-wx commented 10 months ago

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

liangaomng commented 10 months ago

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

no...

hhuang-code commented 6 months ago

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?