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

the problem of train.py #18

Open
XiandaGuo opened this issue Apr 8, 2020 · 3 comments
Open

the problem of train.py #18

XiandaGuo opened this issue Apr 8, 2020 · 3 comments

Comments

@XiandaGuo
Copy link

why do not you use bptt_hsm in train.py? what is the meaning of ntokens in line 134 of train.py? looking forward your replay!Thank you very much

@Starboy-at-earth
Copy link

I have encountered the same problem. Look forward to that the author can give some explanation, thank you in advance.

@zgf6781882
Copy link

I've run the training code, but I get very bad results, so I always encounter the following problems.
Traceback (most recent call last):
File "train.py", line 301, in
writer.add_scalar('Train/IOU', iou(torch.cat((1-all_E, all_E), dim=1), all_M), i + epoch * iters_per_epoch)
File "/_guifangzhang/vos/RGMP/utils.py", line 93, in iou
return i / u
ZeroDivisionError: float division by zero

Does anyone encounter the same situation???

@gbc-sid
Copy link

gbc-sid commented Jun 5, 2021

I have the same iou problem and the segment results are bad. Have you solved this problem?

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

4 participants