ultralytics / yolov3

YOLOv3 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
10.18k stars 3.44k forks source link

RuntimeError: DataLoader worker (pid 17166) is killed by signal: Killed. #700

Closed SteelMinh closed 4 years ago

SteelMinh commented 4 years ago

can someone help me please

glenn-jocher commented 4 years ago

Hello, thank you for your interest in our work! This issue seems to lack the minimum requirements for a proper response, or is insufficiently detailed for us to help you. Please note that most technical problems are due to:

If none of these apply to you, we suggest you close this issue and raise a new one using the Bug Report template, providing screenshots and minimum viable code to reproduce your issue. Thank you!

Tony-TF commented 4 years ago

I have a same problem!Only message is : "Killed!"

glenn-jocher commented 11 months ago

@Tony-TF understood! The "Killed" message typically indicates that your process was killed by the system, often due to resource limitations such as memory usage.

To address this issue, you may want to consider the following:

  1. Reduce batch size: Decrease the batch size in your DataLoader to lower the memory footprint during training.

  2. Memory optimization: Check for any memory-intensive operations or large memory allocations in your code. Optimizing these may help prevent the "Killed" message.

  3. Hardware constraints: Ensure that your hardware, such as GPU memory if applicable, is sufficient for the task. If using a cloud provider, consider upgrading the instance type to one with more memory.

Feel free to explore these options and let us know if you have additional details or any further questions!