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

AttributeError: module 'models2' has no attribute 'DemoLab' #1

Open
xtendai opened this issue Dec 17, 2018 · 5 comments
Open

AttributeError: module 'models2' has no attribute 'DemoLab' #1

xtendai opened this issue Dec 17, 2018 · 5 comments

Comments

@xtendai
Copy link

xtendai commented Dec 17, 2018

Running the LSTM baseline with lab / demographics gives the following error :

LSTM baseline with lab/demographics

python3 -u trainModel.py --i 2 --modelName DemoLab --dimLSTM 256 --p_dropOut 0.5 --batch_norm --flg_cuda --logInterval 1 --n_iter 2 --batchSizePos 8 --batchSizeNeg 8 --enc_len 30 --lr 0.001 --lr_decay3 10 --inputPath sampleData/ --flgSave --savePath DemoLab_Output/

AttributeError: module 'models2' has no attribute 'DemoLab'

@BerlyJIa
Copy link

I have same issue

@jingsliu
Copy link
Collaborator

Should be calling from enc_models, sorry about the error. Fixed and please try and let me know

@BerlyJIa
Copy link

I have test it today, the problem has been soveled. Thank you !

@Delta98
Copy link

Delta98 commented Nov 14, 2019

It show cuda out of memory if I run the code. ( in anaconda)

@jingsliu
Copy link
Collaborator

jingsliu commented Nov 14, 2019 via email

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