Giter VIP home page Giter VIP logo

grafiqs's People

Contributors

jankolf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lcolbois

grafiqs's Issues

Gives empty .txt files

I set the run like that:
python extract_grafiqs.py --image-path /home/sm00th/Projects/assets/IMG_3625.jpg --output-dir /home/sm00th/Projects/apps/GraFIQs/output/ --backbone iresnet100 --weights /home/sm00th/Projects/apps/GraFIQs/backbones/resnet100_ms1mv2_arcface.pth

But got empty text files in the output dir...

2024-05-07_14-40

Generating image quality score for custom FR model.

Hi @jankolf,
I am using your method with another architecture which also have last layer returning 512 features. (below is a snapshot of last layer)

BatchNorm1d-543                  [-1, 512]           1,024
     ResNet-544                  [-1, 512]               0
================================================================
Total params: 47,181,073
Trainable params: 47,181,073
Non-trainable params: 0

However, the features I am getting after passing images through model have only one value of while the default model return tuple of 6 values. I am not able to figure out the reason for this mismatch. If you can explain the possible reason and ways to handle it, it will be very helpful.

Thanks
Girish

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.