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

pickle and mpi error.. using chainercv with chainermn #88

Closed
MannyKayy opened this issue Jun 9, 2017 · 3 comments
Closed

pickle and mpi error.. using chainercv with chainermn #88

MannyKayy opened this issue Jun 9, 2017 · 3 comments
Assignees

Comments

@MannyKayy
Copy link

Hi,

I am trying to use chainercv with chainermn.

I used chainercv with some of my new projects and when i attempt to distribute training using chainermn, I receive the following error from the scatter_dataset method. All i am doing is applying a random_flip transform to the training data. I get the error for all my projects that use chainercv and have replicated it using the chainermn mnist example file .

image

I'm not sure as to where to raise this issue so I have raised it in both the chainercv and chainermn repos.

@iwiwi
Copy link
Contributor

iwiwi commented Jun 9, 2017

What is the type of your dataset? (i.e., train). Method scatter_dataset requires it to be picklable.

@MannyKayy
Copy link
Author

@iwiwi : so according to @yuyu2172 in the related issue on chainercv.

The error occurred because function objects can not be pickled.
We will look into a way to fix this issue. Thank you very much for reporting.

As can be seen on line 91 in this gist the chainercv TransformDataset and transform functions wrap the dataset and carry out online data-augmentation. It seems they can't be pickled.

@iwiwi
Copy link
Contributor

iwiwi commented Jun 9, 2017

I see. Let me close this issue here, and let us continue the discussion at ChainerCV repository. Thanks!

@iwiwi iwiwi closed this as completed Jun 9, 2017
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

2 participants