Coder Social home page Coder Social logo

Got 'Segmentation fault' when trained 1/299 epochs , 'resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown' about flexible-yolov5 HOT 2 CLOSED

bobo-y avatar bobo-y commented on May 14, 2024
Got 'Segmentation fault' when trained 1/299 epochs , 'resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown'

from flexible-yolov5.

Comments (2)

ShirleyHe2020 avatar ShirleyHe2020 commented on May 14, 2024

Segmentation fault again at 179/229 epochs :

 Epoch   gpu_mem       box       obj       cls     total   targets  img_size

178/299 5.54G 0.02711 0.008768 0 0.03587 9 640: 100%|██████████| 836/836 [04:44<00:00, 2.94it/s]
Class Images Targets P R [email protected] [email protected]:.95: 100%|██████████| 74/74 [00:27<00:00, 2.69it/s]
all 2.36e+03 2.81e+03 0.0533 0.0594 0.0554 0.0421

 Epoch   gpu_mem       box       obj       cls     total   targets  img_size

179/299 5.54G 0.02733 0.008876 0 0.03621 7 640: 100%|██████████| 836/836 [04:44<00:00, 2.93it/s]
Class Images Targets P R [email protected] [email protected]:.95: 26%|██▌ | 19/74 [00:07<00:21, 2.59it/s]ERROR: Unexpected segment ation fault encountered in worker.
Class Images Targets P R [email protected] [email protected]:.95: 26%|██▌ | 19/74 [00:07<00:21, 2.59it/s]
Traceback (most recent call last):
File "train.py", line 527, in
train(hyp, opt, device, tb_writer, wandb)
File "train.py", line 344, in train
results, maps, times = test(opt.data,
File "/home/qian/anaconda3/envs/ultra_YOLOv5/flexible-yolov5-main/eval.py", line 110, in test
t0 += time_synchronized() - t
File "/home/qian/anaconda3/envs/ultra_YOLOv5/flexible-yolov5-main/utils/torch_utils.py", line 83, in time_synchronized
torch.cuda.synchronize()
File "/home/qian/anaconda3/lib/python3.8/site-packages/torch/cuda/init.py", line 380, in synchronize
return torch._C._cuda_synchronize()
File "/home/qian/anaconda3/lib/python3.8/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 16352) is killed by signal: Segmentation fault.

from flexible-yolov5.

Bobo-y avatar Bobo-y commented on May 14, 2024

i'm sorry, I can't reproduce your problems.

from flexible-yolov5.

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.