gregwchase / eyenet

Identifying diabetic retinopathy using convolutional neural networks
https://www.youtube.com/watch?v=pMGLFlgqxuY
MIT License
195 stars 76 forks source link

GPU problem #12

Closed shivamjoshi26 closed 5 years ago

shivamjoshi26 commented 5 years ago

ValueError: To call multi_gpu_model with gpus=8, we expect the following devices to be available: ['/cpu:0', '/gpu:0', '/gpu:1', '/gpu:2', '/gpu:3', '/gpu:4', '/gpu:5', '/gpu:6', '/gpu:7']. However this machine only has: ['/cpu:0', '/xla_cpu:0', '/xla_gpu:0', '/gpu:0']. Try reducing gpus

Kigeek-02 commented 5 years ago

Hi Shivam, The ValueError is because you don’t have 8-GPUs to run the model. However, if you are on Colab – you need to setup the TPU first which requires additional line of coding to get access to the 8 Gpus.

Kind Regards

Kiran


From: shivamjoshi26 notifications@github.com Sent: Thursday, April 4, 2019 4:26:13 PM To: gregwchase/dsi-capstone Cc: Subscribed Subject: [gregwchase/dsi-capstone] GPU problem (#12)

ValueError: To call multi_gpu_model with gpus=8, we expect the following devices to be available: ['/cpu:0', '/gpu:0', '/gpu:1', '/gpu:2', '/gpu:3', '/gpu:4', '/gpu:5', '/gpu:6', '/gpu:7']. However this machine only has: ['/cpu:0', '/xla_cpu:0', '/xla_gpu:0', '/gpu:0']. Try reducing gpus

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gregwchase/dsi-capstone/issues/12, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVHi8HQbTSlKsck3tDOpCVE2d-5YYx7mks5vde9lgaJpZM4ccq7w.

SaurabhTiwari1999 commented 2 years ago

CAN YOU TELL WHICH CODE?