Giter VIP home page Giter VIP logo

Comments (13)

Varat7v2 avatar Varat7v2 commented on May 23, 2024 1

I solved this issue by downgrading mmcv from 0.4.4 to 0.2.14 and the demo.py is running fine but there are no any bounding boxes on the result images.

from pedestron.

hasanirtiza avatar hasanirtiza commented on May 23, 2024

Which configuration file and pre-trained model did you use for the demo?

from pedestron.

Varat7v2 avatar Varat7v2 commented on May 23, 2024

I am using the following configuration file and the pre-trained model:

configs/elephant/cityperson/cascade_hrnet.py
epoch_7.pth.stu
test images as provided in the demo folder

from pedestron.

hasanirtiza avatar hasanirtiza commented on May 23, 2024

How are you running epoch_7.pth.stu with the configuration of cascade_hrnet.py ? It seems to me that epoch_7.pth.stu is a pre-trained model for RetinaNet, not for the Cascade Mask R-CNN. Or did you train your own model ?

from pedestron.

Varat7v2 avatar Varat7v2 commented on May 23, 2024

Oh yeah! I did not notice that. I changed the config file with that of Retinanet and now its working. Thank you very much. If I want to run this model with SSD300 or RetinaNet on mobile devices or Jetson, will it run efficiently in regard of inference time? Now I am thinking of trying it on Jetson.

Also I was earlier trying running it on my PC without GPU but it was showing some cuda error: ImportError: cannot import name 'deform_conv_cuda' Won't it run only on CPU?

Thank you again.

from pedestron.

hasanirtiza avatar hasanirtiza commented on May 23, 2024

As of now Pedestron does not support a CPU-only version. #7

from pedestron.

Varat7v2 avatar Varat7v2 commented on May 23, 2024

Okay thanks.

from pedestron.

zhulishun avatar zhulishun commented on May 23, 2024

I solved this issue by downgrading mmcv from 0.4.4 to 0.2.14 and the demo.py is running fine but there are no any bounding boxes on the result images.

Hi~How to downgrading mmcv from 0.4.4 to 0.2.14 ?

from pedestron.

Varat7v2 avatar Varat7v2 commented on May 23, 2024

@zhulishun you can downgrade it with pip install mmcv==0.2.14

from pedestron.

zhulishun avatar zhulishun commented on May 23, 2024

@zhulishun you can downgrade it with pip install mmcv==0.2.14
thank u! I try, but
Pedestron$ pip install mmcv==0.2.14
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef88377c50>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/mmcv/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef88377be0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/mmcv/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef883774e0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/mmcv/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef88377390>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/mmcv/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef88377240>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/mmcv/
ERROR: Could not find a version that satisfies the requirement mmcv==0.2.14 (from versions: none)
ERROR: No matching distribution found for mmcv==0.2.14

from pedestron.

hasanirtiza avatar hasanirtiza commented on May 23, 2024

There seems to be a problem in your pip installation. This command should work
pip install mmcv==0.2.14
or
pip3 install mmcv==0.2.14
Depending upon your system. From the error log, it appears to me that you have some issues in your pip installation, have a look here or here.

from pedestron.

AdityaSrivastava1234 avatar AdityaSrivastava1234 commented on May 23, 2024

Hi, I'm also facing the same issue while trying to do fine-tuning with cascade mask rcnn --> "ImportError: cannot import name 'get_dist_info' from 'mmcv.runner.utils' ". I'm following the colab notebook given by the authors which installs mmcv using the command --> "pip install mmcv==0.2.14". Still the problem persists. Please help me out, thanks in advance!

from pedestron.

hasanirtiza avatar hasanirtiza commented on May 23, 2024

Most probably it is still an installation issue, after installing mmcv did you compile Pedestron using the following command ?
python setup.py develop

Secondly, juts have a look at the installation page and see if you have followed all the instructions correctly.

from pedestron.

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.