-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Error reporting process:
###############################
Loading Synthesis Network
Traceback (most recent call last):
File "/home/kfn/anaconda3/envs/pulse/lib/python3.8/site-packages/spyder_kernels/py3compat.py", line 356, in compat_exec
exec(code, globals, locals)
File "/home/kfn/comparison model/pulser/run.py", line 79, in
for j,(HR,LR) in enumerate(model(ref_im,**kwargs)):
File "/home/kfn/anaconda3/envs/pulse/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/kfn/anaconda3/envs/pulse/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 156, in forward
return self.gather(outputs, self.output_device)
File "/home/kfn/anaconda3/envs/pulse/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 168, in gather
return gather(outputs, output_device, dim=self.dim)
File "/home/kfn/anaconda3/envs/pulse/lib/python3.8/site-packages/torch/nn/parallel/scatter_gather.py", line 68, in gather
res = gather_map(outputs)
File "/home/kfn/anaconda3/envs/pulse/lib/python3.8/site-packages/torch/nn/parallel/scatter_gather.py", line 63, in gather_map
return type(out)(map(gather_map, zip(*outputs)))
TypeError: cannot create 'generator' instances.
######################
Hope to receive to reply as soon as possible, Thanks a lot.