Open tuscasp opened 3 months ago
Greetings, thanks for your interest in our work!
To run the provided code use TensorFlow version 2.10.0. Newer versions load/save models in a slightly different way, hence the lack of the @keras.saving.register_keras_serializable()
decorator,
Hope it helps.
I've tried to reproduce the experiment in my local environment, but even main.py will not execute to completion. The crashing occurs either when reading the ResNet56 model or when importing the keras classes.
Can you please specify which tensorlfow and keras version must be used for the system to be reproduceable?
Bellow I leave the output from my attempts on running main.py with two tensorflow versions (v2.16.2 and v2.15.1):
TF v2.16.2
After changing
from keras.utils.generic_utils import CustomObjectScope
tofrom keras.utils import CustomObjectScope
(which should be allowed, to match docs of v2.16.1 on CustomObjectScope), the output becomes:TF v2.15.1