Skip to content

PyQt example of using fine-tuned resnet50 model for image classficiation of user-defined image (anteater, hyena)

License

Notifications You must be signed in to change notification settings

yjg30737/pyqt-using-finetuned-resnet50-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyqt-using-finetuned-resnet50-example

PyQt example of using fine-tuned resnet50 model for image classficiation of user-defined image (anteater, hyena)

What is ResNet50?

ResNet50 is an image classification model. While it is excellent on its own, it is often used in creating custom models due to its flexibility in transfer learning and fine-tuning.

What is fine-tuning?

You can find it in the Internet. Well..

If you want to understand the fine-tuning, i think you have to know the concept of the transfer learning first.

Fine-tuning is process that making any model to recognize or process the user-defined dataset. See the kaggle notebook in the How To Run section to know how it works.

Requirements

  • PyQt5 >= 5.14
  • torch
  • torchvision
  • numpy

How to Run

  1. Get the fine-tuned model from this kaggle notebook.
  2. git clone ~
  3. Put the model file (result.pth) into the root folder of this repo.
  4. pip install -r requirements.txt
  5. python main.py
  6. Type the image url of anteater or hyena.
  7. Press "Run"

Preview

image

The result was hyena with a probability of 99.96% :)

About

PyQt example of using fine-tuned resnet50 model for image classficiation of user-defined image (anteater, hyena)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages