new error when run train.py
Opened this issue · 3 comments
zhilonglu commented
whwang299 commented
Hi @zhilonglu
Maybe related with this issue #2.
Could you try again after change num_workers=4
to num_workers=0
in the code below?
sqlova/sqlova/utils/utils_wikisql.py
Lines 92 to 109 in 1c08a23
Thanks!
Wonseok
zhilonglu commented
OK i'll try later, thanks
just moment ago i found this link
https://discuss.pytorch.org/t/cant-pickle-local-object-dataloader-init-locals-lambda/31857/9
maybe it solves my problem。
But another problem occurs,so dispirited!
dop1943 commented
you can fix this problem by converting the lambda function to a normal one, let's say identify
def identify(x): return x
then replace lambda x:x
by identify.
if you get a new error try to set num_workers to 0 like @whwang299 has said.