You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been able to follow the tutorial in the README just fine, except for the last line.
I've downloaded the Synthea data, converted it to the training data format, and used this line to create a pre-trained model:
OSError: SavedModel file does not exist at: d:/omopSynthea/cehr-bert\bert_model.h5/{saved_model.pbtxt|saved_model.pb}
(I changed the path because I'm running on Windows). However, d:/omopSynthea/cehr-bert\bert_model.h5 exists (I renamed the aforementioned 'bert_model_01_3.67.h5'.
Am I doing something wrong? How do I run a 2nd epoch?
The text was updated successfully, but these errors were encountered:
@schuemie Thanks for pointing this out, and it might have something to do with the path being misinterpreted on the windows machine, I only tested it on Linux. Let me try to reproduce it on a window machine.
The tutorial actually only pre-trains CEHR-BERT for 1 epoch due the argument passed into -e 1, you could change it to -e 2 when calling trainers/train_bert_only.py. Apologies this is not clearly stated in the README
I've been able to follow the tutorial in the README just fine, except for the last line.
I've downloaded the Synthea data, converted it to the training data format, and used this line to create a pre-trained model:
As a result, I now have a file called 'bert_model_01_3.67.h5'
However, this last line is throwing an error:
The error is
(I changed the path because I'm running on Windows). However,
d:/omopSynthea/cehr-bert\bert_model.h5
exists (I renamed the aforementioned 'bert_model_01_3.67.h5'.Am I doing something wrong? How do I run a 2nd epoch?
The text was updated successfully, but these errors were encountered: