matthewearl / deep-anpr

Using neural networks to build an automatic number plate recognition system
MIT License
1.85k stars 697 forks source link

Error in proc_start() in train.py #44

Closed obiii closed 7 years ago

obiii commented 7 years ago

I am running this on windows and facing error in train.py, the error is in proc_start() function on line 103.

This is the complete error:

Traceback (most recent call last): File "train.py", line 267, in initial_weights=initial_weights) File "train.py", line 239, in train for batch_idx, (batch_xs, batch_ys) in batch_iter: File "train.py", line 103, in wrapped proc.start() File "C:\ProgramData\Anaconda3\lib\multiprocessing\process.py", line 105, in start self._popen = self._Popen(self) File "C:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 212, in _Popen return _default_context.get_context().Process._Popen(process_obj) File "C:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 313, in _Popen return Popen(process_obj) File "C:\ProgramData\Anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 66, in init reduction.dump(process_obj, to_child) File "C:\ProgramData\Anaconda3\lib\multiprocessing\reduction.py", line 59, in dump ForkingPickler(file, protocol).dump(obj) AttributeError: Can't pickle local object 'mpgen..main'

D:\Project\deep-anpr>Traceback (most recent call last): File "", line 1, in File "C:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 106, in spawn_main exitcode = _main(fd) File "C:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 116, in _main self = pickle.load(from_parent) EOFError: Ran out of input screenshot 56