_pickle.PicklingError: Can't pickle <function <lambda> at 0x000002DDC0CBB048>: attribute lookup <lambda> on __main__ failed
Yukuncn opened this issue · 4 comments
Yukuncn commented
in1-2 code:
for x,y in dl_trian:
print(x.shape,y.shape)
break
error:_pickle.PicklingError: Can't pickle <function at 0x000002DDC0CBB048>: attribute lookup on main failed.
because the error the whole code can run correctly
Yukuncn commented
my os :windows 10
strawberry2333 commented
我也是,会不会是torch版本问题?实在不知怎么解决。
hadisi1993 commented
我也是,有人知道怎么解决吗
hadisi1993 commented
issue当中有解决方法