crest icon indicating copy to clipboard operation
crest copied to clipboard

TypeError: int() argument must be a string, a bytes-like object or a number, not 'Tensor'

Open JoyHuYY1412 opened this issue 3 years ago • 2 comments

Hi, I got some error messages:

/crest/third_party/rand_augment.py:80 _posterize_level_to_arg
        return (int((level / MAX_LEVEL) * 4), )

Is it something with the version of TensorFlow? My version is 2.4.0.

JoyHuYY1412 avatar Jul 22 '21 13:07 JoyHuYY1412

Hi, would you mind trying with the most recent version of tensorflow? We didn't find any issue running the code with the most recent version.

kihyuks avatar Jul 22 '21 22:07 kihyuks

Hi, would you mind trying with the most recent version of tensorflow? We didn't find any issue running the code with the most recent version.

Hi thank you for your reply. The latest TensorFlow needs cuda11, but I only have cuda10. I will try later.

JoyHuYY1412 avatar Jul 23 '21 02:07 JoyHuYY1412