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
Happy to try out DNA-Diffusion in my lab. I found that when I run train.py (accelerate launch train.py), I have an error in unet.py:
At the line num_resolutions = len(in_out)
I get this error:
TypeError: object of type 'itertools.pairwise' has no len()
I tried the workaround: in_out = tuple(in_out)
How did this run as itertools.pairwise, is it a different version of itertools? I have python 3.10
The text was updated successfully, but these errors were encountered:
Hello,
Happy to try out DNA-Diffusion in my lab. I found that when I run train.py (
accelerate launch train.py
), I have an error in unet.py:At the line
num_resolutions = len(in_out)
I get this error:
TypeError: object of type 'itertools.pairwise' has no len()
I tried the workaround:
in_out = tuple(in_out)
How did this run as itertools.pairwise, is it a different version of itertools? I have python 3.10
The text was updated successfully, but these errors were encountered: