Giter Site home page Giter Site logo

Comments (3)

lannguyen0910 avatar lannguyen0910 commented on August 15, 2024

Hi @mbenami, thanks for asking the question. You could try the script below to download the Efficientnet-v2 ImageNet weight

!gdown https://drive.google.com/uc?id=1rTYuStYA64U1qb7uC-h8DOhv99Ztxaxz

And if you want to load it, you should change 2 lines in either "efficientnetv2_market.yaml" or "efficientnetv2_cuhk.yaml" to:

pretrain_path: "efficienetv2_imagenet.pt"
pretrain_choice: "imagenet"

I suggest that you should follow the instructions in the notebook i attached in README. If you come up with any errors or issues, please reach out to me soon. Thank you!

from deep-efficient-person-reid.

mbenami avatar mbenami commented on August 15, 2024

Hi @lannguyen0910
thanks for the quick response
still when I try to load the weight I get an error

load weights

torch.load("efficienetv2_imagenet.pt")

error:

ModuleNotFoundError: No module named 'nets'

you can also see there is not weights in the file :
https://drive.google.com/file/d/1rTYuStYA64U1qb7uC-h8DOhv99Ztxaxz/view

from deep-efficient-person-reid.

lannguyen0910 avatar lannguyen0910 commented on August 15, 2024

Hi @mbenami, have you tried changing 2 lines in the yaml file and run it? If you follow the instructions in the colab notebook, you shouldn't get any errors in loading the weight, although some gdown lines are inaccessible now but you can still download the market1501 dataset and efficienetv2_imagenet.pt weight.

If you didn't run the notebook, can i ask where is the specific file you placetorch.load("efficienetv2_imagenet.pt") line? Because the code itself doesn't have that line, you can take a look at line 153 and 201 in nets/nn.py for more information.

Besides, when i click in the weight link, i can still download the weight, here are some images:

image

image

from deep-efficient-person-reid.

Related Issues (14)

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.