io icon indicating copy to clipboard operation
io copied to clipboard

Execution of https://www.tensorflow.org/io/tutorials/bigquery results in error

Open aarsanjani opened this issue 3 years ago • 0 comments

https://www.tensorflow.org/io/tutorials/bigquery

example results in error:

NotImplementedError: unable to open file: libtensorflow_io.so, from paths: ['/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so'] caused by: ['/usr/local/lib/python3.7/dist-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZNK10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFNS_8StatusOrISt10unique_ptrIS1_NS_4core15RefCountDeleterEEEEvEE']

at

BATCH_SIZE = 32

training_ds = read_bigquery(TRAINING_TABLE_ID).shuffle(10000).batch(BATCH_SIZE) eval_ds = read_bigquery(EVAL_TABLE_ID).batch(BATCH_SIZE)

aarsanjani avatar May 24 '22 01:05 aarsanjani