Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in from narya.narya.models.keras_models import KeypointDetectorModel #38

Open
sportistats opened this issue Jun 9, 2021 · 0 comments

Comments

@sportistats
Copy link


AttributeError Traceback (most recent call last)
in ()
2
3 kp_model = KeypointDetectorModel(
4 backbone='efficientnetb3', num_classes=29, input_shape=(320, 320),
5 )
6

6 frames
/usr/local/lib/python3.7/dist-packages/efficientnet/model.py in EfficientNet(width_coefficient, depth_coefficient, default_resolution, dropout_rate, drop_connect_rate, depth_divisor, blocks_args, model_name, include_top, weights, input_tensor, input_shape, pooling, classes, **kwargs)
468 file_name = model_name + '_weights_tf_dim_ordering_tf_kernels_autoaugment_notop.h5'
469 file_hash = WEIGHTS_HASHES[model_name][1]
470 weights_path = keras_utils.get_file(file_name,
471 BASE_WEIGHTS_PATH + file_name,
472 cache_subdir='models',

AttributeError: module 'keras.utils' has no attribute 'get_file'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant