Coder Social home page Coder Social logo

fdbtrs / pocketnet Goto Github PK

View Code? Open in Web Editor NEW
56.0 4.0 11.0 73.17 MB

Official repository for PocketNet: Extreme Lightweight Face Recognition Network using Neural Architecture Search and Multi-Step Knowledge Distillation

License: Other

Python 98.99% Shell 1.01%
biometrics face-recognition neural-architecture-search knowledge-distillation pocketnet pytorch

pocketnet's People

Contributors

fdbtrs avatar naserdamer 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

Watchers

 avatar  avatar  avatar  avatar

pocketnet's Issues

where the pre-trained teacher model?

`backbone_teacher = iresnet100(num_features=cfg.embedding_size).to(local_rank)
try:
backbone_teacher_pth = os.path.join(cfg.teacher_pth, str((epoch + 1)*11372) + "backbone.pth")
backbone_teacher.load_state_dict(torch.load(backbone_teacher_pth, map_location=torch.device(local_rank)))

        if rank == 0:
            logging.info("backbone teacher loaded for epoch {} successfully!".format(epoch))
    except (FileNotFoundError, KeyError, IndexError, RuntimeError):
        logging.info("load teacher backbone for epoch {} init, failed!".format(epoch))
        break`

I can not find the teacher model.

training log without KD

would you mind releasing the training log of PocketNetS-128 (no KD)? I'm curious about how loss decrease when training without KD, comparing with that with KD.

Issue about setting of training data and validation data

Hello, in the code of architecture search, ie DART/searchs/search.py, I found that the difference between the training data and the validation data is whether there is random cropping, is that right?
49 # get dataset and meta info
50 input_size, input_channels, n_classes, train_data = dataset.get_train_dataset(cfg.root, cfg.dataset)
51 val_data = dataset.get_dataset_without_crop(cfg.root, cfg.dataset)
I am also studying the application of NAS in recognition tasks recently, but I am confused about how to set training data and validation data because I found that the conventional setting seems to be unable to be applied to the NAS. Can you tell me your understanding of this? Thanks a lot!!!

Inference time

Firstly, I really admire all your works (PocketNet, QuantFace, MixFaceNets).

I have a concern, the inference time is extremely slow (even with GPU support), any suggestions on how to make it faster?

Thanks!

The MSEloss formula in paper

First, thanks for your impressive work. I have a small question about the MSEloss formula in your paper. why there is a '1 -' in the formula?
image

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.