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

train under multi gpu #3

Open
abinlee opened this issue Feb 1, 2018 · 0 comments
Open

train under multi gpu #3

abinlee opened this issue Feb 1, 2018 · 0 comments

Comments

@abinlee
Copy link

abinlee commented Feb 1, 2018

Have you tried to enable multi gpu to train?
If I use “-n_gpu 2” to train model, I get this error:
File "Keras-ICNet/model.py", line 195, in
y = Lambda(lambda x: tf.image.resize_bilinear(x, size=(int(x.shape[1])//2, int(x.shape[2])//2)), name='data_sub2')(x)
TypeError: int returned non-int (type NoneType)

keras 2.1.3
tensorflow 1.4.1

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