Comments (13)
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.
Which configuration file and pre-trained model did you use for the demo?
from pedestron.
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.
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.
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.
As of now Pedestron does not support a CPU-only version. #7
from pedestron.
Okay thanks.
from pedestron.
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.
@zhulishun you can downgrade it with pip install mmcv==0.2.14
from pedestron.
@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.
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.
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.
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)
- Docker image is not working! HOT 4
- Impact of mean_teacher on the training process HOT 1
- CSP pretrained weights HOT 1
- Reproduce resutls on Caltech dataset HOT 3
- Information regarding the training HOT 1
- Image_scale of Caltech while training HOT 6
- ImportError: /pedestron/tools/../mmdet/ops/dcn/deform_conv_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E HOT 1
- RuntimeError: Expected cudaMemcpy(&mask_host[0], mask_dev, sizeof(unsigned long long) * boxes_num * col_blocks, cudaMemcpyDeviceToHost) == cudaSuccess to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.) HOT 1
- Training citypersons with all the instances? HOT 1
- Welcome update to OpenMMLab 2.0
- Runtime error - Training with EuroCity persons HOT 1
- Training Caltech using CSP HOT 1
- What's ignore_other_vru in ECP evaluation? HOT 2
- result has no bbox HOT 5
- mmdet/ops/roi_align/src/roi_align_kernel.cu(145): error: identifier "THCudaCheck" is undefined HOT 1
- Update instruction for 2023 HOT 1
- custom dataset test HOT 1
- Evaluate different pre-trained model
- A request for advice on pedestrian tracking work. HOT 2
- a bug when converting crowdhuman to coco format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pedestron.