Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'mobilenet_v3_large' is not defined #49

Open
Abhijeet241093 opened this issue Dec 22, 2023 · 0 comments
Open

NameError: name 'mobilenet_v3_large' is not defined #49

Abhijeet241093 opened this issue Dec 22, 2023 · 0 comments

Comments

@Abhijeet241093
Copy link

python3 main.py --gpu 0 --pro -enc mobilenet_v3_large --dataset mvtec --action-type norm-test -inp 256
--class-name metal_nut --checkpoint mvtec_mobilenet_v3_large_freia-cflow_pl3_cb8_inp512_run0_metal_nut.pt
LR schedule: [12, 18, 22]
Number of pool layers = 3
Traceback (most recent call last):
File "main.py", line 91, in
main(c)
File "main.py", line 84, in main
train(c)
File "/home/radhakrishna/cflow-ad/train.py", line 262, in train
encoder, pool_layers, pool_dims = load_encoder_arch(c, L)
File "/home/radhakrishna/cflow-ad/model.py", line 158, in load_encoder_arch
encoder = mobilenet_v3_large(pretrained=True, progress=True).features
NameError: name 'mobilenet_v3_large' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant