Code Monkey home page Code Monkey logo

Comments (8)

zaradamou avatar zaradamou commented on May 30, 2024 1

Hi Rafael,

Thank you so much, I replaced the code with the latest version and everything is running smoothly. This is a great program!

Best,
Zara

from review_object_detection_metrics.

rafaelpadilla avatar rafaelpadilla commented on May 30, 2024

Hi @zaradamou ,

Your detections have only 5 positions:
1 0.2522 0.1515 0.2163 0.3143

Note that the detection files must contain 6 blocks. I believe the confidence value is missing.

from review_object_detection_metrics.

zaradamou avatar zaradamou commented on May 30, 2024

Oh, I completely missed that! Thank you

from review_object_detection_metrics.

rafaelpadilla avatar rafaelpadilla commented on May 30, 2024

@zaradamou,

You are welcome :)

If that solved your problem, please, close this issue

from review_object_detection_metrics.

zaradamou avatar zaradamou commented on May 30, 2024

Hi Rafael,

I updated the necessary information, and still receive the following error:

File "/Users/zaraadamou/review_object_detection_metrics/src/ui/run_ui.py", line 312, in btn_run_clicked
det_annotations, passed = self.load_annotations_det()
File "/Users/zaraadamou/review_object_detection_metrics/src/ui/run_ui.py", line 154, in load_annotations_det
ret = converter.text2bb(self.dir_dets,
File "/Users/zaraadamou/review_object_detection_metrics/src/utils/converter.py", line 257, in text2bb
if bb_type == BBType.DETECTED and not validations.is_relative_text_format(
File "/Users/zaraadamou/review_object_detection_metrics/src/utils/validations.py", line 369, in is_relative_text_format
if not is_empty_file(file_path):
File "/Users/zaraadamou/review_object_detection_metrics/src/utils/validations.py", line 542, in is_empty_file
for line in f:
File "/Users/zaraadamou/opt/anaconda3/envs/objmetrics/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 3131: invalid start byte
zsh: abort python run.py

I have attached my files to this message.

Thank you!

Best,
Zara

baggage_claim_gt.txt
baggage_claim_dt.txt
baggage_claim

classes.txt

from review_object_detection_metrics.

rafaelpadilla avatar rafaelpadilla commented on May 30, 2024

Hi @zaradamou,

The name of the files you sent might be the cause of your problem.

Given the image baggage_claim.jpg, both ground-truth and detection files of this image should be both named as 'baggage_claim.txt' and put in different folders. See the structure below:

image

After that, choose the following options on the interface:

image

By that, you can obtain the following results:
image

image

I hope that helps.

Best regards,
Rafael

from review_object_detection_metrics.

zaradamou avatar zaradamou commented on May 30, 2024

Hi Rafael,

Thank you for your very prompt responses. I have it saved in the format you have detailed and I still receive the same error unfortunately.

Best,
Zara

from review_object_detection_metrics.

rafaelpadilla avatar rafaelpadilla commented on May 30, 2024

Hi Zara,

Have you replaced your code with the repo's last version?

I put your files in the attached file. Uncompress it in a folder and choose the options in the interface as in my previous message.
samples_zaradamou.zip

from review_object_detection_metrics.

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.