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

请问当前master是否可用? #18

Open
404NotFound233 opened this issue Jun 9, 2020 · 4 comments
Open

请问当前master是否可用? #18

404NotFound233 opened this issue Jun 9, 2020 · 4 comments

Comments

@404NotFound233
Copy link

您好,我将您的开源代码clone下来以后,试图运行train.py进行尝试,但是似乎在dataiter.py的DsfdDataIter类下出现了些问题,首先是未定义该类的__len__方法,我试着添加了该方法后,在DataIter类下build_iter方法下的ds = MultiProcessPrefetchData(ds, self.prefetch_size, self.process_num)语句又发生了进程间冲突的报错,因此想请教是代码本身存在问题还是我个人操作出现了错误,谢谢~

@610265158
Copy link
Owner

sorry for reply late,

it should be tensorpack version problem, give it a try with tensorpack<0.9.9

1 similar comment
@610265158
Copy link
Owner

sorry for reply late,

it should be tensorpack version problem, give it a try with tensorpack<0.9.9

@404NotFound233
Copy link
Author

thanks for your answer, i will try it later

@smallsun1122
Copy link

您好,我将您的开源代码clone下来以后,试图运行train.py进行尝试,但是似乎在dataiter.py的DsfdDataIter类下出现了些问题,首先是未定义该类的__len__方法,我试着添加了该方法后,在DataIter类下build_iter方法下的ds = MultiProcessPrefetchData(ds, self.prefetch_size, self.process_num)语句又发生了进程间冲突的报错,因此想请教是代码本身存在问题还是我个人操作出现了错误,谢谢~

请问你解决了吗?我也出现了问题,但问题是DsfdDataIter have no len

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