Code Monkey home page Code Monkey logo

Comments (10)

MheadHero avatar MheadHero commented on June 9, 2024 1

@sovit-123 yaya, I saw that function. Thank you again.

@MheadHero Also, it may be some time before I start testing this out. But if you wish, you can create a PR with the code (you can take your time developing it) and if everything works out fine, I will be quite happy to merge it.

Alrighttt, I will try and develop it.

from fasterrcnn-pytorch-training-pipeline.

sovit-123 avatar sovit-123 commented on June 9, 2024

I will surely try to add the second feature.
Regarding the first feature, I am not very sure. The reason is that all of the Faster RCNN models here follow the PyTorch model builder pipeline which does not output a validation loss by default. It's not just this repository but also many others like MMDetection and YOLO Ultralytic models. Also, changing the code to do so, is going out of the current pipeline a bit which may break a few things. But I can surely guarantee adding the first feature.

from fasterrcnn-pytorch-training-pipeline.

MheadHero avatar MheadHero commented on June 9, 2024

That's mean you will add both the functions? Many thanks sovit!

from fasterrcnn-pytorch-training-pipeline.

sovit-123 avatar sovit-123 commented on June 9, 2024

Hi. I can guarantee that I can add the second feature for saving the mAP in a file in some optimized format. But I am a bit skeptical about the first feature. The thing is that I don't want to change the internal working of the official PyTorch model.

from fasterrcnn-pytorch-training-pipeline.

MheadHero avatar MheadHero commented on June 9, 2024

What about this? It seems like they have solved the problem.
https://stackoverflow.com/questions/71288513/how-can-i-determine-validation-loss-for-faster-rcnn-pytorch

I trying to apply their solution at your codes but its better if you can try together. Because my skill are still very immature, so if you can try together, definitely you can test it faster than me, to see if it work or no.

from fasterrcnn-pytorch-training-pipeline.

sovit-123 avatar sovit-123 commented on June 9, 2024

So that would require breaking the model into different components like the features (classifier) module, RPN module, and the detection module. I am unsure whether this should be done and how it will affect future updates to the code base. I can try this but mostly I will take this on a low-priority basis. The main reason is that in object detection, in almost all cases, the evaluation mAP should be used to choose and save the best model. I may try this but I cannot guarantee a timeline for this now. I hope you understand the situation.

from fasterrcnn-pytorch-training-pipeline.

sovit-123 avatar sovit-123 commented on June 9, 2024

@MheadHero
Also, it may be some time before I start testing this out. But if you wish, you can create a PR with the code (you can take your time developing it) and if everything works out fine, I will be quite happy to merge it.

from fasterrcnn-pytorch-training-pipeline.

sovit-123 avatar sovit-123 commented on June 9, 2024

@MheadHero
The code has been updated. Now a results.csv gets saved which contains the mAP @0.5:0.95 IoU and mAP @0.5 IoU.

from fasterrcnn-pytorch-training-pipeline.

kalikhademi avatar kalikhademi commented on June 9, 2024

Could you please point me to the name of this function that will compute the results.csv?

from fasterrcnn-pytorch-training-pipeline.

sovit-123 avatar sovit-123 commented on June 9, 2024

@kalikhademi
They are csv_log and create_log_csv in logging.py
https://github.com/sovit-123/fasterrcnn-pytorch-training-pipeline/blob/main/utils/logging.py

from fasterrcnn-pytorch-training-pipeline.

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.