Code Monkey home page Code Monkey logo

Comments (10)

JosonChan1998 avatar JosonChan1998 commented on September 24, 2024 2

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.
Here is a screenshot using the predicted anno file.
image

Yes, it has no problem running. My confusion is :

  1. the conut part in segmentation we get looks like garbled code, is this normal? Or is this coco's RLE format and it just looks like this with no problem?
  2. is this json file is the standard coco format? Because the readme profile says that you do not generate coco.json files with annatation. But it has.
  1. Yes, that's normal. These information may help you:
    (1) coco_style_eval.py
    (2) cocoapi issue#135
    (3) pycocotools source code
  2. It is standard coco format.

ok, thank you. But, there is still a problem. You say that It is standard coco format. But due to the result of generated json cat_coco.json, it's not the same as the standard coco format. the category is not ture, i think it's better to keep align as well as the other categories.
the result of generated json cat_coco.json looks like this. image
the standard coco format looks like this. image

The categories depend on the cat/class_with_id.txt and you can customize your categories.

I find that cat/class_with_id.txt only clarify the categories. for example cat. Then, how can i modify related category id to "17 " and supercategory to "animal"? image

Currently, it doesn't support this feature, you can change it in the source code in

category_item['supercategory'] = 'none'

category_item['id'] = int(category_id)

from playground.

hhaAndroid avatar hhaAndroid commented on September 24, 2024

@ranpin Did you solve the problem?

from playground.

ranpin avatar ranpin commented on September 24, 2024

@ranpin Did you solve the problem?

No, I didn't. Nobady discussed with me.

from playground.

xin-li-67 avatar xin-li-67 commented on September 24, 2024

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.

Here is a screenshot using the predicted anno file.

image

from playground.

ranpin avatar ranpin commented on September 24, 2024

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.

Here is a screenshot using the predicted anno file.

image

Yes, it has no problem running. My confusion is :

  1. the conut part in segmentation we get looks like garbled code, is this normal? Or is this coco's RLE format and it just looks like this with no problem?
  2. is this json file is the standard coco format? Because the readme profile says that you do not generate coco.json files with annatation. But it has.

from playground.

xin-li-67 avatar xin-li-67 commented on September 24, 2024

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.
Here is a screenshot using the predicted anno file.
image

Yes, it has no problem running. My confusion is :

  1. the conut part in segmentation we get looks like garbled code, is this normal? Or is this coco's RLE format and it just looks like this with no problem?
  2. is this json file is the standard coco format? Because the readme profile says that you do not generate coco.json files with annatation. But it has.
  1. Yes, that's normal. These information may help you:
    (1) coco_style_eval.py
    (2) cocoapi issue#135
    (3) pycocotools source code
  2. It is standard coco format.

from playground.

ranpin avatar ranpin commented on September 24, 2024

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.
Here is a screenshot using the predicted anno file.
image

Yes, it has no problem running. My confusion is :

  1. the conut part in segmentation we get looks like garbled code, is this normal? Or is this coco's RLE format and it just looks like this with no problem?
  2. is this json file is the standard coco format? Because the readme profile says that you do not generate coco.json files with annatation. But it has.
  1. Yes, that's normal. These information may help you:
    (1) coco_style_eval.py
    (2) cocoapi issue#135
    (3) pycocotools source code
  2. It is standard coco format.

ok, thank you. But, there is still a problem. You say that It is standard coco format. But due to the result of generated json cat_coco.json, it's not the same as the standard coco format. the category is not ture, i think it's better to keep align as well as the other categories.

the result of generated json cat_coco.json looks like this.
image

the standard coco format looks like this.
image

from playground.

JosonChan1998 avatar JosonChan1998 commented on September 24, 2024

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.
Here is a screenshot using the predicted anno file.
image

Yes, it has no problem running. My confusion is :

  1. the conut part in segmentation we get looks like garbled code, is this normal? Or is this coco's RLE format and it just looks like this with no problem?
  2. is this json file is the standard coco format? Because the readme profile says that you do not generate coco.json files with annatation. But it has.
  1. Yes, that's normal. These information may help you:
    (1) coco_style_eval.py
    (2) cocoapi issue#135
    (3) pycocotools source code
  2. It is standard coco format.

ok, thank you. But, there is still a problem. You say that It is standard coco format. But due to the result of generated json cat_coco.json, it's not the same as the standard coco format. the category is not ture, i think it's better to keep align as well as the other categories.

the result of generated json cat_coco.json looks like this. image

the standard coco format looks like this. image

The categories depend on the cat/class_with_id.txt and you can customize your categories.

from playground.

ranpin avatar ranpin commented on September 24, 2024

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.
Here is a screenshot using the predicted anno file.
image

Yes, it has no problem running. My confusion is :

  1. the conut part in segmentation we get looks like garbled code, is this normal? Or is this coco's RLE format and it just looks like this with no problem?
  2. is this json file is the standard coco format? Because the readme profile says that you do not generate coco.json files with annatation. But it has.
  1. Yes, that's normal. These information may help you:
    (1) coco_style_eval.py
    (2) cocoapi issue#135
    (3) pycocotools source code
  2. It is standard coco format.

ok, thank you. But, there is still a problem. You say that It is standard coco format. But due to the result of generated json cat_coco.json, it's not the same as the standard coco format. the category is not ture, i think it's better to keep align as well as the other categories.
the result of generated json cat_coco.json looks like this. image
the standard coco format looks like this. image

The categories depend on the cat/class_with_id.txt and you can customize your categories.

I find that cat/class_with_id.txt only clarify the categories. for example cat. Then, how can i modify related category id to "17 " and supercategory to "animal"?
image

from playground.

ranpin avatar ranpin commented on September 24, 2024

@ranpin Hi, I did a quick run following the README instruction, and there was no coming issue.
Here is a screenshot using the predicted anno file.
image

Yes, it has no problem running. My confusion is :

  1. the conut part in segmentation we get looks like garbled code, is this normal? Or is this coco's RLE format and it just looks like this with no problem?
  2. is this json file is the standard coco format? Because the readme profile says that you do not generate coco.json files with annatation. But it has.
  1. Yes, that's normal. These information may help you:
    (1) coco_style_eval.py
    (2) cocoapi issue#135
    (3) pycocotools source code
  2. It is standard coco format.

ok, thank you. But, there is still a problem. You say that It is standard coco format. But due to the result of generated json cat_coco.json, it's not the same as the standard coco format. the category is not ture, i think it's better to keep align as well as the other categories.
the result of generated json cat_coco.json looks like this. image
the standard coco format looks like this. image

The categories depend on the cat/class_with_id.txt and you can customize your categories.

I find that cat/class_with_id.txt only clarify the categories. for example cat. Then, how can i modify related category id to "17 " and supercategory to "animal"? image

Currently, it doesn't support this feature, you can change it in the source code in

category_item['supercategory'] = 'none'

category_item['id'] = int(category_id)

ok, thank you. I have no problem. But I still hope that you can support it some day. This will bring great convenience to our ordinary users.Thanks again!

from playground.

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.