jeanfeydy / geomloss

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

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

Open liangaomng opened 8 months ago

liangaomng commented 8 months 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 5 months ago

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

liangaomng commented 5 months ago

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

no...

hhuang-code commented 1 month 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?