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

notebook code doesn't match training.py code when training locally #12

Open
bzburr opened this issue Nov 6, 2018 · 0 comments
Open

Comments

@bzburr
Copy link

bzburr commented Nov 6, 2018

So in the "Data Processing and Learning.ipynb"

Same pictures training/testing


model, history = train.training(model, X_train, X_test, y_train, y_test, data_augmentation=True)#, callback=True, six_conv=True)

## Training in the notebook
X_train, X_test, y_train, y_test = train.get_dataset()
model, opt = train.create_model_four_conv(X_train.shape[1:])
model.compile(loss='categorical_crossentropy',
               optimizer=opt,
               metrics=['accuracy'])
model, history = train.training(model, X_train, X_test, y_train, y_test, data_augmentation=True, callback=True, six_conv=True)

​the train.training code from line 183 on "train.py"

def training(model, X_train, X_test, y_train, y_test, data_augmentation=True):

these don't match,...

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

1 participant