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

Adding a conda environment and migrating to tf 1.x #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lhk
Copy link

@lhk lhk commented Aug 18, 2022

It's not easy to execute the code locally. There have been some breaking API changes and the code only works with specific versions of the imported packages.

I've migrated the code to tensorflow 1.0 using the official google migration script.
And I've created a conda environment that makes it possible to execute this code.

I'm not sure whether this introduces subtle bugs somewhere, but on my machine the training finishes and reports:

Epoch 39	Iter 27000	Loss 0.09313946131947733
train: Accuracy(>0.5): 0.9998210450966356, f1: 0.999910514541387, auc: N/A
dev: Accuracy(>0.5): 0.798, f1: 0.7589498806682577, auc: 0.9113439999999999

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

Successfully merging this pull request may close these issues.

1 participant