nyumedml / deepehr Goto Github PK
View Code? Open in Web Editor NEWChronic Disease Prediction Using Medical Notes
License: MIT License
Chronic Disease Prediction Using Medical Notes
License: MIT License
Running the LSTM baseline with lab / demographics gives the following error :
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'
I'm trying to train the model with trainModel.py, following the command in ReadMe. But I've encountered the error in the title.
I'm on win7 machine with anaconda. GPU: RTX 2070.
My virtual env configuration:
python 3.6.8
cudatoolkit 9.0
cudnn 7.3.1
pytorch 0.4.1
torchvision 0.2.1
This error occurs at the very beginning of the running. There's no concern of run out of memory or related problems.
Someone help me on this? What's your configuration to run this successfully?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.