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
Hi ,
Can you please help me with understanding following issue :
I am trying to understand the code and run it.
Dataset : Colon/normal
1.
Had to import SwinUNetModel in script_util.py and artifusion.py , was it missed when pushing the latest code ?
File "/ArtiFusion/model_training/scripts/improved_diffusion/swinunet_flops.py", line 538, in forward
timesteps = x[1]
IndexError: index 1 is out of bounds for dimension 0 with size 1
I increased the batch size to 4 , this error goes of but , the patch embedding has error bcoz it take x.shape as B,C,H,W.
Can you check it?
What is the thing i missed ? (only data and logger path was to be filled in)
The text was updated successfully, but these errors were encountered:
Hi ,
Can you please help me with understanding following issue :
I am trying to understand the code and run it.
Dataset : Colon/normal
1.
Had to import SwinUNetModel in script_util.py and artifusion.py , was it missed when pushing the latest code ?
File "/ArtiFusion/model_training/scripts/improved_diffusion/swinunet_flops.py", line 538, in forward
timesteps = x[1]
IndexError: index 1 is out of bounds for dimension 0 with size 1
I increased the batch size to 4 , this error goes of but , the patch embedding has error bcoz it take x.shape as B,C,H,W.
Can you check it?
What is the thing i missed ? (only data and logger path was to be filled in)
The text was updated successfully, but these errors were encountered: