-
Notifications
You must be signed in to change notification settings - Fork 311
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
Issue running GenderTraining program on Ubuntu #205
Comments
@MisterMcDuck |
Thanks for the link. I can confirm that with a simple modification as done in the linked PR, it's now training. The modification I made, just for testing:
and
and the result:
If I get some time I'll try to bring together a PR, but it'd need to cover all the cases rather than just this one. |
I think we should use uint64_t. But you can continue to train by your code. |
I did see issues keeping UInt32, e.g. 1/2 sized arrays during the Validation phase, but worked around them. Out of curiosity I implemented UInt64 support for loss multiloss log, but I think they'd be breaking changes for the library which I think you would want to avoid. I separated the commits into basic support in std vector and the breaking changes in loss multiloss log if you're interested: takuya-takeuchi/DlibDotNet@master...MisterMcDuck:DlibDotNet:feature/UInt64 To see them. I guess overrides could be used, but I don't know how much interest there are in these changes. |
@MisterMcDuck I created new PR from your branch. Your change looks good to me :) I try to build and test it on windows, linux and osx. Thanks a lot. |
It should be resolved by 1.3.0.7 |
Hello,
I attempted to follow the instructions provided at https://github.com/takuya-takeuchi/DlibDotNet/wiki/Tutorial-for-Linux
and https://github.com/takuya-takeuchi/FaceRecognitionDotNet/tree/master/tools/GenderTraining
to train a gender model as specified. I compiled everything with CUDA support, and can confirm that works as I've previously trained dlib networks on this machine.
I always specified 64/desktop cuda 112 when building the libraries. However, when I try to run the training program, I receive this error:
I'm not sure how the two std:vectors could have a differing size. If you think it would help I could try this on a windows OS as this is just an Amazon EC2 instance.
Thanks for any advice you can give!
The text was updated successfully, but these errors were encountered: