Traceback (most recent call last):


 "I:\pix2pix basic\Image2Image.py", line 215, in <module>

data = QueueInput(get_data())


 "I:\pix2pix basic\Image2Image.py", line 172, in get_data

ds = MultiProcessRunner(ds, 100, 1)


 "I:\pix2pix basic\tensorpack\dataflow\parallel.py", line 226, in __init__

start_proc_mask_signal(self.procs)


 "I:\pix2pix basic\tensorpack\utils\concurrency.py", line 239, in start_proc_mask_signal

p.start()


 "C:\Program 
s\Python37\lib\multiprocessing\process.py", line 112, in start

self._popen = self._Popen(self)


 "C:\Program 
s\Python37\lib\multiprocessing\context.py", line 223, in _Popen

return _default_context.get_context().Process._Popen(process_obj)


 "C:\Program 
s\Python37\lib\multiprocessing\context.py", line 322, in _Popen

return Popen(process_obj)


 "C:\Program 
s\Python37\lib\multiprocessing\popen_spawn_win32.py", line 89, in __init__

reduction.dump(process_obj, to_child)


 "C:\Program 
s\Python37\lib\multiprocessing\reduction.py", line 60, in dump

ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'get_data.<locals>.<lambda>'

Traceback (most recent call last):


 "blah.py", line 10, in <module>

m.pprint()


 "/.../pyomo/core/base/component.py", line 495, in pprint

self.is_constructed(), *self._pprint()


 "/.../pyomo/core/base/component.py", line 363, in _pprint_base_impl

_fcn(ostream, _key, _data_dict[_key])


 "/.../pyomo/core/base/block.py", line 1909, in _pprint_callback

data._pprint_blockdata_components(ostream)


 "/.../pyomo/core/base/block.py", line 1676, in _pprint_blockdata_components

self.component(key).pprint(ostream=indented_ostream)


 "/.../pyomo/core/base/component.py", line 495, in pprint

self.is_constructed(), *self._pprint()
AttributeError: 'AMPLExternalFunction' object has no attribute '_pprint'
