Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liangaomng opened this issue Oct 27, 2023 · 3 comments
Open

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

liangaomng opened this issue Oct 27, 2023 · 3 comments

Comments

@liangaomng
Copy link

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
Copy link

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

@liangaomng
Copy link
Author

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

no...

@hhuang-code
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants