{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3539","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3539/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3539/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3539/events","html_url":"https://github.com/tensorflow/tensorflow/issues/3539","id":167972091,"number":3539,"title":"parallelize OneVsRestClassifier","user":{"login":"rubenstern","id":19919316,"avatar_url":"https://avatars.githubusercontent.com/u/19919316?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenstern","html_url":"https://github.com/rubenstern","followers_url":"https://api.github.com/users/rubenstern/followers","following_url":"https://api.github.com/users/rubenstern/following{/other_user}","gists_url":"https://api.github.com/users/rubenstern/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenstern/subscriptions","organizations_url":"https://api.github.com/users/rubenstern/orgs","repos_url":"https://api.github.com/users/rubenstern/repos","events_url":"https://api.github.com/users/rubenstern/events{/privacy}","received_events_url":"https://api.github.com/users/rubenstern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T22:30:37Z","updated_at":"2016-07-27T22:30:37Z","closed_at":null,"body":"Hi,\r\n\r\nI have implemented a CNN model in a TensorFlowEstimator and I use it with a OneVsRestClassifier.\r\nIt works good.\r\nWhen I am trying to parallelize it by putting n_jobs=2 in the OneVsRestClassifier, I got a strange error that I don't understand : \r\n\r\nMaybeEncodingError: Error sending result: '[TensorFlowEstimator(batch_size=32, class_weight=None, clip_gradients=5.0,\r\n          config=None, continue_training=True, learning_rate=0.001,\r\n          model_fn=<function cnn_model at 0x11f22d500>, n_classes=16,\r\n          optimizer='Adam', steps=200, verbose=1)]'. Reason: 'PicklingError(\"Can't pickle <type 'module'>: it's not found as __builtin__.module\",)'\r\n\r\nDo you have an idea of what does it mean ?\r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"rubenstern"}}