Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: Can't pickle local object 'get_random_eraser.<locals>.eraser' #28

Open
GYQ-haha opened this issue Mar 31, 2021 · 4 comments

Comments

@GYQ-haha
Copy link

在运行 train.py 时出现了这个问题,提示错误在train.py的第120行batch_iterator = iter(train_dataloader)这句话,请问如何解决呢?

@hs756149694
Copy link

在运行 train.py 时出现了这个问题,提示错误在train.py的第120行batch_iterator = iter(train_dataloader)这句话,请问如何解决呢?

您好,我也出现了这个问题,请问您解决了吗?

@GYQ-haha
Copy link
Author

在运行 train.py 时出现了这个问题,提示错误在train.py的第120行batch_iterator = iter(train_dataloader)这句话,请问如何解决呢?

您好,我也出现了这个问题,请问您解决了吗?

还没有解决o(╥﹏╥)o

@lxztju
Copy link
Owner

lxztju commented Apr 13, 2021

注释掉dataset.py的第45行

@GYQ-haha
Copy link
Author

注释掉dataset.py的第45行
好哒谢谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants