
Traceback (most recent call last):



 "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 163, in main


return run_entry_point()



 "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 121, in run_entry_point


return getattr(pmod, func)()



 "site-packages/calibre/utils/ipc/worker.py", line 208, in main



 "site-packages/calibre/gui2/convert/gui_conversion.py", line 43, in gui_convert_override



 "site-packages/calibre/gui2/convert/gui_conversion.py", line 28, in gui_convert



 "site-packages/calibre/ebooks/conversion/plumber.py", line 1110, in run



 "site-packages/calibre/customize/conversion.py", line 246, in __call__



 "site-packages/calibre/ebooks/conversion/plugins/epub_input.py", line 290, in convert

calibre.ebooks.DRMError: lMJxpl.epub

Traceback (most recent call last):


 "main_train.py", line 29, in <module>

train(opt, Gs, Zs, reals, NoiseAmp)


 "/Users/mattiabernardi/Documents/MLDL Laboratory/Papers/SinGAN/SinGAN/training.py", line 39, in train

z_curr,in_s,G_curr = train_single_scale(D_curr,G_curr,reals,Gs,Zs,in_s,NoiseAmp,opt)


 "/Users/mattiabernardi/Documents/MLDL Laboratory/Papers/SinGAN/SinGAN/training.py", line 178, in train_single_scale

errG.backward(retain_graph=True)


 "/opt/anaconda3/envs/myenv/lib/python3.6/site-packages/torch/tensor.py", line 221, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/opt/anaconda3/envs/myenv/lib/python3.6/site-packages/torch/autograd/__init__.py", line 132, in backward

allow_unreachable=True)
# allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [3, 32, 3, 3]] is at version 2; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).