{"action":"closed","issue":{"url":"https://api.github.com/repos/ljanyst/ssd-tensorflow/issues/28","repository_url":"https://api.github.com/repos/ljanyst/ssd-tensorflow","labels_url":"https://api.github.com/repos/ljanyst/ssd-tensorflow/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/ljanyst/ssd-tensorflow/issues/28/comments","events_url":"https://api.github.com/repos/ljanyst/ssd-tensorflow/issues/28/events","html_url":"https://github.com/ljanyst/ssd-tensorflow/issues/28","id":330247634,"node_id":"MDU6SXNzdWUzMzAyNDc2MzQ=","number":28,"title":"Can't pickle local object 'TrainingData.__batch_generator.<locals>.batch_producer'","user":{"login":"MulinYu","id":26922343,"node_id":"MDQ6VXNlcjI2OTIyMzQz","avatar_url":"https://avatars2.githubusercontent.com/u/26922343?v=4","gravatar_id":"","url":"https://api.github.com/users/MulinYu","html_url":"https://github.com/MulinYu","followers_url":"https://api.github.com/users/MulinYu/followers","following_url":"https://api.github.com/users/MulinYu/following{/other_user}","gists_url":"https://api.github.com/users/MulinYu/gists{/gist_id}","starred_url":"https://api.github.com/users/MulinYu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MulinYu/subscriptions","organizations_url":"https://api.github.com/users/MulinYu/orgs","repos_url":"https://api.github.com/users/MulinYu/repos","events_url":"https://api.github.com/users/MulinYu/events{/privacy}","received_events_url":"https://api.github.com/users/MulinYu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-07T12:21:08Z","updated_at":"2018-06-07T19:38:38Z","closed_at":"2018-06-07T19:38:38Z","author_association":"NONE","body":"runfile('G:/ssd-tensorflow/train.py', wdir='G:/ssd-tensorflow')\r\n[i] Project name:          test\r\n[i] Data directory:        pascal-voc\r\n[i] VGG directory:         vgg_graph\r\n[i] # epochs:              200\r\n[i] Batch size:            8\r\n[i] Tensorboard directory: tb\r\n[i] Checkpoint interval:   5\r\n[i] Learning rate values:  0.001;0.0001;0.00001\r\n[i] Learning rate boundaries:  320000;400000\r\n[i] Momentum:              0.9\r\n[i] Weight decay:          0.0005\r\n[i] Continue:              False\r\n[i] Number of workers:     8\r\n[i] Creating directory test...\r\n[i] Starting at epoch:     1\r\n[i] Configuring the training data...\r\n[i] # training samples:    21503\r\n[i] # validation samples:  17125\r\n[i] # classes:             20\r\n[i] Image size:            Size(w=300, h=300)\r\n[i] Creating the model...\r\nINFO:tensorflow:Restoring parameters from b'vgg_graph/vgg\\\\variables\\\\variables'\r\nWARNING:tensorflow:From C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\site-packages\\tensorflow\\contrib\\learn\\python\\learn\\datasets\\base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.\r\nInstructions for updating:\r\nUse the retry module or similar alternatives.\r\n[i] Training...\r\n[i] Train  1/200:   0%|          | 0/2688 [00:00<?, ?batches/s]Traceback (most recent call last):\r\n\r\n  File \"<ipython-input-1-77161caa0548>\", line 1, in <module>\r\n    runfile('G:/ssd-tensorflow/train.py', wdir='G:/ssd-tensorflow')\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\site-packages\\spyder\\utils\\site\\sitecustomize.py\", line 710, in runfile\r\n    execfile(filename, namespace)\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\site-packages\\spyder\\utils\\site\\sitecustomize.py\", line 101, in execfile\r\n    exec(compile(f.read(), filename, 'exec'), namespace)\r\n\r\n  File \"G:/ssd-tensorflow/train.py\", line 344, in <module>\r\n    sys.exit(main())\r\n\r\n  File \"G:/ssd-tensorflow/train.py\", line 253, in main\r\n    desc=description, unit='batches'):\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\site-packages\\tqdm\\_tqdm.py\", line 927, in __iter__\r\n    for obj in iterable:\r\n\r\n  File \"G:\\ssd-tensorflow\\training_data.py\", line 172, in gen_batch\r\n    w.start()\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\multiprocessing\\process.py\", line 105, in start\r\n    self._popen = self._Popen(self)\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\multiprocessing\\context.py\", line 212, in _Popen\r\n    return _default_context.get_context().Process._Popen(process_obj)\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\multiprocessing\\context.py\", line 313, in _Popen\r\n    return Popen(process_obj)\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\multiprocessing\\popen_spawn_win32.py\", line 66, in __init__\r\n    reduction.dump(process_obj, to_child)\r\n\r\n  File \"C:\\ProgramData\\Anaconda\\envs\\tensorflow\\lib\\multiprocessing\\reduction.py\", line 59, in dump\r\n    ForkingPickler(file, protocol).dump(obj)\r\n\r\nAttributeError: Can't pickle local object 'TrainingData.__batch_generator.<locals>.batch_producer'\r\n\r\nI train this model in windows10, but after create the model, it says \"can't pickle\", it's the problem of vision?"}}
{"actor":{"display_login":"ljanyst"}}