Skip to content

models_bb #11

@hexuhua69

Description

@hexuhua69

2023-12-11 15:28:28.542198: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2023-12-11 15:28:28.545103: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-12-11 15:28:28.551724: I tensorflow/core/common_runtime/process_util.cc:146] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py:1057: UserWarning: models_bb is not loaded, but a Lambda layer uses it. It may cause errors.
warnings.warn('{} is not loaded, but a Lambda layer uses it. '
Traceback (most recent call last):
File "2.binders.py", line 207, in
pdb_names = make_binders(data, data2, keywords)
File "2.binders.py", line 92, in make_binders
model_pos = load_model(dir_models + 'Orn.hdf5', custom_objects={'tf': tf, 'K': tf.keras.backend})
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/saving/save.py", line 206, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects,
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/saving/hdf5_format.py", line 183, in load_model_from_hdf5
model = model_config_lib.model_from_config(model_config,
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/saving/model_config.py", line 64, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/layers/serialization.py", line 173, in deserialize
return generic_utils.deserialize_keras_object(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/utils/generic_utils.py", line 354, in deserialize_keras_object
return cls.from_config(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 2261, in from_config
return functional.Functional.from_config(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 668, in from_config
input_tensors, output_tensors, created_layers = reconstruct_from_config(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 1275, in reconstruct_from_config
process_layer(layer_data)
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 1257, in process_layer
layer = deserialize_layer(layer_data, custom_objects=custom_objects)
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/layers/serialization.py", line 173, in deserialize
return generic_utils.deserialize_keras_object(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/utils/generic_utils.py", line 354, in deserialize_keras_object
return cls.from_config(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 1019, in from_config
function = cls._parse_function_from_config(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 1071, in _parse_function_from_config
function = generic_utils.func_load(
File "/work/home/acuo40nkom/miniconda3/envs/gmxMMPBSA2/lib/python3.8/site-packages/tensorflow/python/keras/utils/generic_utils.py", line 457, in func_load
code = marshal.loads(raw_code)
ValueError: bad marshal data (unknown type code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions