KichangKim / DeepDanbooru

AI based multi-label girl image classification system, implemented by using TensorFlow.
MIT License
2.58k stars 258 forks source link

Strange things about tensorflow-io #58

Closed canoziia closed 2 years ago

canoziia commented 2 years ago

When I try to evaluate this image, it raised an error:

NotImplementedError: unable to open file: .so, from paths: ['/root/env/test/lib/python3.8/site-packages/tensorflow_io/python/ops/libtensorflow_io.so'] caused by: ['/root/env/test/lib/python3.8/site-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZN10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFNS_8StatusOrISt10unique_ptrIS1_NS_4core15RefCountDeleterEEEEvEE']

python: 3.8.10; tensorflow: 2.8.0; tensorflow-io: 0.25.0

sdjsb20200629_151228 274

KichangKim commented 2 years ago

That image is actually bitmap file (even its extension is png). DeepDanbooru does not support bitmap format. Try to encode it as png or jpeg.