Comments (6)
@zzd1994 Can you provide your output log?
from solo.
when testing,
Traceback (most recent call last):
File "test_ins.py", line 257, in
main()
File "test_ins.py", line 235, in main
coco_eval(result_files, eval_types, dataset.coco)
File "/home/jskj/Projects/SOLO-master/mmdet/core/evaluation/coco_utils.py", line 41, in coco_eval
coco_dets = coco.loadRes(result_file)
File "/home/jskj/.conda/envs/solov1/lib/python3.7/site-packages/pycocotools/coco.py", line 326, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range
i don't know how to modify the hyperparameter for my own dataset, and the model is solo_r101_fpn_8gpu_3x
from solo.
I met same question, I have changed the num_classes = 2
because my data has only one category. when I run inference_demo.py . It get some errors.
/home/ubuntu/anaconda3/envs/solov1/lib/python3.6/site-packages/torch/nn/functional.py:2506: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details. "See the documentation of nn.Upsample for details.".format(mode)) Traceback (most recent call last): File "demo/inference_demo.py", line 20, in <module> show_result_ins(img, result, model.CLASSES, score_thr=0.25, out_file="pig_out.jpg") File "/media/ubuntu/SSD/SOLO-master/mmdet/apis/inference.py", line 237, in show_result_ins seg_label = cur_result[0] TypeError: 'NoneType' object is not subscriptable
from solo.
@LiXm1002 hi I trained the model without error, but the prediction result is also error, it seems that the prediction is None, have you solved this problem?
from solo.
I have the same problem, has someone solved this problem?
from solo.
I have the same problem, has someone solved this problem?
@yfjiang1990 maybe you should check you own coco-format dataset or re-install mmdetection, i forgot it in detail...
from solo.
Related Issues (20)
- How to run video on inference_demo.py ??
- How to test the calculation amount (Flops) of solov2? Thank you~
- Win10 Installation Tutorial HOT 1
- Change Maximum allowed Pytorch Version to 10.1
- About training configuration of SOLOv2 on LVIS dataset
- TypeError: SOLOv2: __init__() got an unexpected keyword argument 'mask_feat_head' HOT 2
- dynamic conv
- SOLOv2 get segmentation mask and classes
- ImportError: cannot import name 'coco_eval' from 'mmdet.core'
- Relu inplace ops making issues HOT 1
- About dataset's picture size problem
- 如何看评价结果
- Welcome update to OpenMMLab 2.0
- How can I improve AP accuracy on my dataset
- I have a bug when I launch train.py
- I don't succeeds to install solov2 with anaconda on windows 10
- Unable to evaluate bbox HOT 1
- TypeError: impad() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given HOT 1
- installation made easy
- What does this code snippet in solo_head.py mean? I'm so confused.
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 solo.