GithubHelp home page GithubHelp logo

public-code's People

Contributors

chrizandr avatar geevi avatar rohitsaluja22 avatar skrya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

public-code's Issues

submit result

Now, I had trained the semantic segmentation model on the IDD dataset. I want to test it using test set. My data format is:[0,25] for 26 class.
How convert the data format so that I can submit test set result.

import error

I am using google colab and while running the createLabels.py I am getting an ImportError message as:

Traceback (most recent call last):
File "preperation/createLabels.py", line 9, in
from scipy.misc import imread, imsave
ImportError: cannot import name 'imread'

I tried looking into the scipy docs for version '1.4.1' and I am not able to find any imread or imsave.

Help understanding evaluation script.

I am working on evaluating my instance segmentation output on the given dataset. I don't seem to understand the format of the output required by the provided script.

Specifically the below part of the evaluate_instance_segmentation.py script:

# To run this script, make sure that your results contain text files
# (one for each test set image) with the content:
#   relPathPrediction1 labelIDPrediction1 confidencePrediction1
#   relPathPrediction2 labelIDPrediction2 confidencePrediction2
#   relPathPrediction3 labelIDPrediction3 confidencePrediction3
#   ... 

What should the LabelIDPrediction be? Is it the class ID? Or is it the encoded ID obtained similar to using ID_TYPE=id in createLabels.py? One more concern is the relPathPrediction in the above text format. It says that the path should be relative to the root directory. I need help understanding what root directory is being referred to, since I could not find the default variable.

Sample input and output of instance segmentation evaluation script

The evaluate_instance_segmentation.py takes input defined as follows:

# To run this script, make sure that your results contain text files
# (one for each test set image) with the content:
# relPathPrediction1 labelIDPrediction1 confidencePrediction1
# relPathPrediction2 labelIDPrediction2 confidencePrediction2
# relPathPrediction3 labelIDPrediction3 confidencePrediction3
# ...
#
# - The given paths "relPathPrediction" point to images that contain
# binary masks for the described predictions, where any non-zero is
# part of the predicted instance. The paths must not contain spaces,
# must be relative to the root directory and must point to locations
# within the root directory.
# - The label IDs "labelIDPrediction" specify the class of that mask,
# encoded as defined in labels.py. Note that the regular ID is used,
# not the train ID.
# - The field "confidencePrediction" is a float value that assigns a
# confidence score to the mask.

Do multiple files need to be created (one for each label) per image?

Can you provide such sample file for validation images in the dataset so as to check the working of the script. Or for at least one image? Or tell me how do I generate such file from *_gtFine_instanceids.png?

Bounding boxes empty in the new dataset

Hi,

I was trying to generate instance labels for the new release (part 2) of the IDD. However, I observed that polygons in the json file for certain classes do not have any coordinates (i.e. the labelled bounding boxes are empty) which keeps giving an error. I didn't face such error in the first part of the dataset.

Please suggest some workaround for this issue.

Thanks.

Import Error

ModuleNotFoundError: No module named 'anue_labels'

Evaluation Code for Instance Segmentation

Hi, I work on instance segmentation. However, I find it hard to make evaluation by your code. It works well on coco-liking evaluation.

Firstly, how could I get gtFine_instanceids.png in 658 line on evaluate_instance_segmentation.py? createLabels.py is only able to make gtFine_labelids.png.

Secondly, what's the args.gtInstancesFile in 73 line on evaluate_instance_segmentaion.py?

Thanks very much.

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.