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

no LSoftmax when use spherefaceloss #39

Closed
yanglilian opened this issue Feb 8, 2018 · 5 comments
Closed

no LSoftmax when use spherefaceloss #39

yanglilian opened this issue Feb 8, 2018 · 5 comments

Comments

@yanglilian
Copy link

Traceback (most recent call last):
File "train_softmax.py", line 873, in
main()
File "train_softmax.py", line 870, in main
train_net(args)
File "train_softmax.py", line 593, in train_net
sym, arg_params, aux_params = get_symbol(args, arg_params, aux_params)
File "train_softmax.py", line 245, in get_symbol
fc7 = mx.sym.LSoftmax(data=embedding, label=gt_label, num_hidden=args.num_classes,
AttributeError: 'module' object has no attribute 'LSoftmax'

@nttstar
Copy link
Collaborator

nttstar commented Feb 8, 2018

compile lsoftmax in 3rdparty/operator

@yanglilian
Copy link
Author

how to compile ,could you please tell me more details about it?

@nttstar
Copy link
Collaborator

nttstar commented Feb 8, 2018

download mxnet source code, put lsoftmax to operator dir, build/install mxnet from source.

@yanglilian
Copy link
Author

got it ,thank you so much

@nttstar nttstar closed this as completed Feb 8, 2018
@yuzehui1996
Copy link

@yanglilian can you explain more details about the compiling lsoftmax?

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

3 participants