uber-research / jpeg2dct

Other
257 stars 44 forks source link

Not compatible with tf >=2.0 #10

Open edosedgar opened 4 years ago

edosedgar commented 4 years ago

There is a problem with importing tf OP in tensorflow/initpy in the following line:

TF_LIB = _load_library('tf_lib' + get_ext_suffix(), ['DecodeJpeg2dct'])

First of all, in _load_libary the operation "library.OP_LIST.op:" could not be run, because shared library does not have OP_LIST, but has DecodeJpeg2dct in symbol data.

I tried to comment out this line, but while running I faced a new problem, the operation DecodeJpeg2dct could not be seen in a graph.

Is there any way to work it out?