Closed mcmingchang closed 4 years ago
tensorflow-gpu==2.1.0
File "F:\tf_ResNeSt_RegNet_model-master\models\ResNest.py", line 87, in call filters = inputs.shape[self._channel_axis].value AttributeError: 'int' object has no attribute 'value'
I modified it to 'filters = inputs.shape[self._channel_axis]'
Thanks, i test it under tensorflow-gpu==1.15, very similar to 2.X style. I will upgrade to 2.1 and update the code.
tensorflow-gpu==2.1.0
File "F:\tf_ResNeSt_RegNet_model-master\models\ResNest.py", line 87, in call filters = inputs.shape[self._channel_axis].value AttributeError: 'int' object has no attribute 'value'