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
from bert4keras.models import build_transformer_model
File "/usr/local/lib/python3.8/dist-packages/bert4keras/models.py", line 5, in
from bert4keras.backend import get_available_gpus
File "/usr/local/lib/python3.8/dist-packages/bert4keras/backend.py", line 513, in
keras.utils.get_custom_objects().update(custom_objects)
AttributeError: module 'keras.utils' has no attribute 'get_custom_objects'
The text was updated successfully, but these errors were encountered:
from bert4keras.models import build_transformer_model
File "/usr/local/lib/python3.8/dist-packages/bert4keras/models.py", line 5, in
from bert4keras.backend import get_available_gpus
File "/usr/local/lib/python3.8/dist-packages/bert4keras/backend.py", line 513, in
keras.utils.get_custom_objects().update(custom_objects)
AttributeError: module 'keras.utils' has no attribute 'get_custom_objects'
The text was updated successfully, but these errors were encountered: