I am following this tutorial. I have two nvidia 1080 Ti graphic card but I can't the code.
I have error in line 8 I also have a laptop with one GPU where this code works fine
I changed the code a little bit.
tf.config.experimental.set_memory_growth(physical_devices[0:1], True)
but still same error