Code Monkey home page Code Monkey logo

Comments (9)

mosheliv avatar mosheliv commented on September 27, 2024

It looks like you don't have opencv installed?
Yes, you can run it on video, its fast enough. You should also check out the more mature mobilenet-ssd implementation that was posted on the forum. If you can't find it, I'll look it up for you

from tensortrt-yolo-python-api.

IbrahimBond avatar IbrahimBond commented on September 27, 2024

thanks for your response. i do have opencv 3.4.6 installed :/

what about the mobilenet-ssd? is it a faster implementation? i will go have a look

from tensortrt-yolo-python-api.

IbrahimBond avatar IbrahimBond commented on September 27, 2024

hi mosh i am still having the same issue. could you tell me what version of opencv do you use? what version of g++ also?

from tensortrt-yolo-python-api.

mosheliv avatar mosheliv commented on September 27, 2024

I think i have 4 installed now but ut shouldn't matrer....

Try deleting the repository and reinstalling from scratch. Cmake is notorious for caching things

from tensortrt-yolo-python-api.

IbrahimBond avatar IbrahimBond commented on September 27, 2024

its weird i have, i have reinstalled twice before and gave the same error, anyway this time it worked, thanks for your response.

now i am having this error though:
Traceback (most recent call last):
File "t.py", line 33, in
for tt in ret_buf.value.split("|"):
TypeError: a bytes-like object is required, not 'str'

do you have any idea?

from tensortrt-yolo-python-api.

mosheliv avatar mosheliv commented on September 27, 2024

from tensortrt-yolo-python-api.

IbrahimBond avatar IbrahimBond commented on September 27, 2024

hi mosh,

i have tried running it in python 2 and it worked. do you know what i need to change to make it work in python3 ?

i have two more question:
do you mind explaining what is ret_buf for? and what is the for loop at line 30 in t.py? it feels like it is inferring the same image 10 times? or am i wrong ?

thanks in advance :)

from tensortrt-yolo-python-api.

mosheliv avatar mosheliv commented on September 27, 2024

from tensortrt-yolo-python-api.

IbrahimBond avatar IbrahimBond commented on September 27, 2024

okay thanks a bunch. i am closing this issue :)

from tensortrt-yolo-python-api.

Related Issues (10)

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.