Git Product home page Git Product logo

Comments (6)

WXinlong avatar WXinlong commented on May 23, 2024

@zzd1994 Can you provide your output log?

from solo.

zzd1994 avatar zzd1994 commented on May 23, 2024

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.

LiXm1002 avatar LiXm1002 commented on May 23, 2024

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.

ceciliaAI avatar ceciliaAI commented on May 23, 2024

@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.

yfjiang1990 avatar yfjiang1990 commented on May 23, 2024

I have the same problem, has someone solved this problem?

from solo.

zzd1994 avatar zzd1994 commented on May 23, 2024

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)

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.