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

a question about train_pom.py #18

Open
qq291078365 opened this issue Mar 25, 2021 · 2 comments
Open

a question about train_pom.py #18

qq291078365 opened this issue Mar 25, 2021 · 2 comments

Comments

@qq291078365
Copy link

how to solve this problem?please
Traceback (most recent call last):
File "train_pom.py", line 274, in main(PARAMS)
File "train _pom.py", line 248, in main
results = [ahid, vhid,thid,adr,vd, tdr,factor_lr,lr, x, batch_sz, decay, min_valid_loss.cpu().data.numpy()]
AttributeError : 'float' object has no attribute 'cpu'

@songyh111
Copy link

how long will pom run?

@Justin1904
Copy link
Owner

I believe this is caused by this code not compatible with later pytorch versions. Could you try fixing your torch version?

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