google/in-silico-labeling

Run on GPU

Irnamosa opened this issue · 2 comments

Hi

Is there any way I could run this repo on GPU instead of CPU for some speed-up?

I suspect you could get it working on GPU by just wrapping the relevant part in a tf.device context:
https://www.tensorflow.org/guide/gpu

Otherwise, you might want to find a U-Net variant that's being actively maintained / written using TF 2.0.

Thanks for the help, I managed to get it working!