nshepperd/gpt-2

I can't train my dataset

shreesha345 opened this issue · 3 comments

2021-03-19 10:49:38.625060: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2021-03-19 10:49:43.300736: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-03-19 10:49:43.303384: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
2021-03-19 10:49:43.383796: E tensorflow/stream_executor/cuda/cuda_driver.cc:328] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2021-03-19 10:49:43.383861: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (99f92bcd4885): /proc/driver/nvidia/version does not exist
2021-03-19 10:49:43.384604: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
WARNING:tensorflow:From /content/gpt-2/src/sample.py:60: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.cast` instead.
WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/util/dispatch.py:201: multinomial (from tensorflow.python.ops.random_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.random.categorical` instead.
Using Adam optimizer
2021-03-19 10:50:09.551281: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:196] None of the MLIR optimization passes are enabled (registered 0 passes)
^C

I used this command python3 train.py --dataset training.npz and I got this error
please help me to fix this please

Did you solve that issue? What version of tensorflow are you using?

No I did not solve. And I am using Tensorflow 1.14

No I did not solve. And I am using Tensorflow 1.14

cuDNN = 7.6 | CUDA = 10.1
For GPU

tensorflow-gpu==2.0.0