Traceback (most recent call last):


 "//anaconda/lib/python3.5/site-packages/IPython/core/history.py", line 785, in writeout_cache

self._writeout_input_cache(conn)


 "//anaconda/lib/python3.5/site-packages/IPython/core/history.py", line 769, in _writeout_input_cache

(self.session_number,)+line)
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 123145322360832 and this is thread id 140735106551808

Traceback (most recent call last):


 "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.5/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/opt/ml/code/train.py", line 152, in <module>

train_loader = _get_train_data_loader(args.batch_size, args.data_dir, args.num_workers, args.pin_memory)


 "/opt/ml/code/train.py", line 68, in _get_train_data_loader

transform=transform)


 "/usr/local/lib/python3.5/dist-packages/torchvision/datasets/folder.py", line 178, in __init__

target_transform=target_transform)


 "/usr/local/lib/python3.5/dist-packages/torchvision/datasets/folder.py", line 75, in __init__

classes, class_to_idx = find_classes(root)


 "/usr/local/lib/python3.5/dist-packages/torchvision/datasets/folder.py", line 23, in find_classes

classes = [d for d in os.listdir(dir) if os.path.isdir(os.path.join(dir, d))]
OSError: [Errno 9] Bad file descriptor
