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

TypeError: alexnet() got an unexpected keyword argument 'jigsaw_classes' #24

Closed
smilesun opened this issue May 18, 2020 · 1 comment
Closed

Comments

@smilesun
Copy link

`python train_jigsaw.py --network alexnet

`> Traceback (most recent call last):

File "train_jigsaw.py", line 198, in
main()
File "train_jigsaw.py", line 192, in main
trainer = Trainer(args, device)
File "train_jigsaw.py", line 59, in init
model = model_factory.get_network(args.network)(jigsaw_classes=args.jigsaw_n_classes + 1, classes=args.n_classes)
File "JigenDG/models/model_factory.py", line 21, in get_network_fn
return nets_mapname
TypeError: alexnet() got an unexpected keyword argument 'jigsaw_classes'

@silvia1993
Copy link
Collaborator

Try to use "--network caffenet"

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

2 participants