Code Monkey home page Code Monkey logo

Comments (1)

olivier-dikken avatar olivier-dikken commented on July 22, 2024

I have a similar error, I run utils.py, create_data_lists.py, datasets.py, model.py then train.py in order, then during train.py something goes wrong when iterating over the dataloader. Here is my stack trace (parts of file paths removed for privacy):

runfile(a-PyTorch-Tutorial-to-Object-Detection-master/train.py', wdir='a-PyTorch-Tutorial-to-Object-Detection-master')
Reloaded modules: utils

Loaded base model.

Traceback (most recent call last):

File "", line 1, in
runfile('a-PyTorch-Tutorial-to-Object-Detection-master/train.py', wdir='a-PyTorch-Tutorial-to-Object-Detection-master')

File "Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 704, in runfile
execfile(filename, namespace)

File "Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "a-PyTorch-Tutorial-to-Object-Detection-master/train.py", line 235, in
main()

File "a-PyTorch-Tutorial-to-Object-Detection-master/train.py", line 102, in main
epoch=epoch)

File "a-PyTorch-Tutorial-to-Object-Detection-master/train.py", line 143, in train
for i, (images, boxes, labels, _) in enumerate(train_loader):

File "Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 193, in iter
return _DataLoaderIter(self)

File "Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 469, in init
w.start()

File "Anaconda3\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)

File "Anaconda3\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)

File "Anaconda3\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)

File "Anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)

File "Anaconda3\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)

BrokenPipeError: [Errno 32] Broken pipe

from a-pytorch-tutorial-to-object-detection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.