You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-11-20 01:54:17.446949: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:305] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support.
2022-11-20 01:54:17.447045: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:271] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 0 MB memory) -> physical PluggableDevice (device: 0, name: METAL, pci bus id: )
Traceback (most recent call last):
File ~/SIUN/code/deblur.py", line 50, in
Tester(config).start()
File ~/SIUN/code/src/tester.py", line 13, in init
self.model = DDModel(config)
File ~/SIUN/code/src/model/model.py", line 15, in init
self.generator = self.build_generator((None,None,6),(None,None,3))
File ~/SIUN/code/src/model/model.py", line 88, in build_generator
if(self.load(self.config.resource.generator_json_path,self.config.resource.generator_weights_path)):
File ~/SIUN/code/src/model/model.py", line 120, in load
self.model = model_from_json(loaded_model_json,custom_objects={'tf':tf})
File ~/miniconda3/lib/python3.9/site-packages/keras/saving/model_config.py", line 104, in model_from_json
return deserialize(config, custom_objects=custom_objects)
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/serialization.py", line 207, in deserialize
return generic_utils.deserialize_keras_object(
File ~/miniconda3/lib/python3.9/site-packages/keras/utils/generic_utils.py", line 679, in deserialize_keras_object
deserialized_obj = cls.from_config(
File ~/miniconda3/lib/python3.9/site-packages/keras/engine/training.py", line 2641, in from_config
functional.reconstruct_from_config(config, custom_objects))
File ~/miniconda3/lib/python3.9/site-packages/keras/engine/functional.py", line 1326, in reconstruct_from_config
process_layer(layer_data)
File ~/miniconda3/lib/python3.9/site-packages/keras/engine/functional.py", line 1308, in process_layer
layer = deserialize_layer(layer_data, custom_objects=custom_objects)
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/serialization.py", line 207, in deserialize
return generic_utils.deserialize_keras_object(
File ~/miniconda3/lib/python3.9/site-packages/keras/utils/generic_utils.py", line 679, in deserialize_keras_object
deserialized_obj = cls.from_config(
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/core/lambda_layer.py", line 303, in from_config
function = cls._parse_function_from_config(config, custom_objects,
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/core/lambda_layer.py", line 358, in _parse_function_from_config
function = generic_utils.func_load(config[func_attr_name], globs=globs)
File ~/miniconda3/lib/python3.9/site-packages/keras/utils/generic_utils.py", line 793, in func_load
code = marshal.loads(raw_code)
ValueError: bad marshal data (unknown type code)
The text was updated successfully, but these errors were encountered:
How to fix? :(
Metal device set to: Apple M1
systemMemory: 16.00 GB
maxCacheSize: 5.33 GB
2022-11-20 01:54:17.446949: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:305] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support.
2022-11-20 01:54:17.447045: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:271] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 0 MB memory) -> physical PluggableDevice (device: 0, name: METAL, pci bus id: )
Traceback (most recent call last):
File ~/SIUN/code/deblur.py", line 50, in
Tester(config).start()
File ~/SIUN/code/src/tester.py", line 13, in init
self.model = DDModel(config)
File ~/SIUN/code/src/model/model.py", line 15, in init
self.generator = self.build_generator((None,None,6),(None,None,3))
File ~/SIUN/code/src/model/model.py", line 88, in build_generator
if(self.load(self.config.resource.generator_json_path,self.config.resource.generator_weights_path)):
File ~/SIUN/code/src/model/model.py", line 120, in load
self.model = model_from_json(loaded_model_json,custom_objects={'tf':tf})
File ~/miniconda3/lib/python3.9/site-packages/keras/saving/model_config.py", line 104, in model_from_json
return deserialize(config, custom_objects=custom_objects)
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/serialization.py", line 207, in deserialize
return generic_utils.deserialize_keras_object(
File ~/miniconda3/lib/python3.9/site-packages/keras/utils/generic_utils.py", line 679, in deserialize_keras_object
deserialized_obj = cls.from_config(
File ~/miniconda3/lib/python3.9/site-packages/keras/engine/training.py", line 2641, in from_config
functional.reconstruct_from_config(config, custom_objects))
File ~/miniconda3/lib/python3.9/site-packages/keras/engine/functional.py", line 1326, in reconstruct_from_config
process_layer(layer_data)
File ~/miniconda3/lib/python3.9/site-packages/keras/engine/functional.py", line 1308, in process_layer
layer = deserialize_layer(layer_data, custom_objects=custom_objects)
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/serialization.py", line 207, in deserialize
return generic_utils.deserialize_keras_object(
File ~/miniconda3/lib/python3.9/site-packages/keras/utils/generic_utils.py", line 679, in deserialize_keras_object
deserialized_obj = cls.from_config(
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/core/lambda_layer.py", line 303, in from_config
function = cls._parse_function_from_config(config, custom_objects,
File ~/miniconda3/lib/python3.9/site-packages/keras/layers/core/lambda_layer.py", line 358, in _parse_function_from_config
function = generic_utils.func_load(config[func_attr_name], globs=globs)
File ~/miniconda3/lib/python3.9/site-packages/keras/utils/generic_utils.py", line 793, in func_load
code = marshal.loads(raw_code)
ValueError: bad marshal data (unknown type code)
The text was updated successfully, but these errors were encountered: