question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

failed to read all data

See original GitHub issue

Hi I get ‘failed to read all data’ error in utlis.py, line 122: assert len(wf.read()) == 0, 'failed to read all data' In my case, len(wf.read()) equals 257717640 (257 MB) and it seems ok, why it should be 0?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
bgaminicommented, May 2, 2020

You can pass —model yolov4, because default is yolov3

I’m so sorry, In my case, YOLO.CLASSES value was wrong. I changed it and problem solved. But another error occurred: InvalidArgumentError: Input to reshape is a tensor with 1472880 values, but the requested shape has 103968 I solved it too, by adding cv2.resize after cv2.imread in detect.py.

1reaction
zcdliuweicommented, Apr 30, 2020

You can pass —model yolov4, because default is yolov3

Yes, the problem has been solved. The model can work normally. Your work is amazing. I am a beginner of computer vision. I will study your code carefully in the next few days and train yolov4 on my own dataset,thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Failed To Read Data-Something Went Wrong ... - YouTube
Today i get the following error notification while i try to cancel the call waiting feature on my samsung galaxy m30s device :...
Read more >
Resolve VISA Warning: Unable to Read All Data - MathWorks
Possible Solutions ; Device did not send all the requested data or communication with the device was interrupted. Check your device connection. For...
Read more >
Failed to read data - Forums - IBM Support
Hello,. we have MPGW which accepts request format as SOAP, receive message via http FSH,. very rarely we see 3-4 transactions failing with...
Read more >
Warning: failed to read all source data during backup - Getting ...
Today when I ran Restic, it displayed 9 input/output errors, and the message Warning: failed to read all source data during backup ....
Read more >
MSBuild Error Failed to read in data for - asp.net 3.5
I receive an error: Error 188 Failed to read in the data for the path/file [..\js\jquery.translator-ms-1.0.0-debug-all.js]. The most common ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found