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

error while train #3

Open
123liluky opened this issue Aug 24, 2018 · 2 comments
Open

error while train #3

123liluky opened this issue Aug 24, 2018 · 2 comments

Comments

@123liluky
Copy link

123liluky commented Aug 24, 2018

Hi! Thanks for your work.
After installing necessary packages and setting training images, I run train_leaves.sh, error happened like below:
1535169193 1
Do you know the reason? Thank you very much!

@123liluky 123liluky changed the title no args.leaves_dir in train.py error while train Aug 25, 2018
@123liluky
Copy link
Author

123liluky commented Aug 25, 2018

@miriambellver I revised self.hidden_size/2 to int(self.hidden_size/2), the error was solved. Could you help me explaining few parameters in args.py? The parameters are maxseqlen gt_maxseqlen and best_val_loss. Besides, If there is only one kind of object in my training set, should I set num_classes to 1 or 2? Thank you.

@miriambellver
Copy link
Collaborator

Hi!

maxseqlen is the sequence length, gt_maxseqlen is how many objects in the ground truth will you consider for the hungarian loss, and best_val_loss is just to track which is the best validation loss. If your dataset has a single object, num_classes should be 2.

Regards,

Míriam

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