asmirnou / watsor

Object detection for video surveillance
MIT License
254 stars 32 forks source link

Error on startup - google.protobuf.message.DecodeError: Truncated message. #4

Closed srirams closed 4 years ago

srirams commented 4 years ago

Log file: https://pastebin.com/rrtQyCb2

I'm using the latest version of tensorflow (2.x) because I'm running python 3.8 and tensorflow 1 doesn't seem to be available for python >= 3.8.

asmirnou commented 4 years ago

It due to the wrong model file. The file frozen_inference_graph.pb inside the downloaded archive has to be renamed to cpu.pb and put into model/ folder, saved_model.pb is for other purposes.

I'll make the documentation more clear about that.

srirams commented 4 years ago

Thanks, that fixed it!

Seems to be working well, but it is missing a lot compared to frigate, but no false positives- whereas frigate has a better detection rate, but also a lot of false positives.

asmirnou commented 4 years ago

Good, closing as the problem is resolved.