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

init_from_checkpoint throw Exception when using hb.keras.Model #120

Closed
karterotte opened this issue Mar 22, 2023 · 1 comment
Closed

init_from_checkpoint throw Exception when using hb.keras.Model #120

karterotte opened this issue Mar 22, 2023 · 1 comment

Comments

@karterotte
Copy link

Current behavior

python code like:

tf.feature_column.embedding_column(
      tf.feature_column.categorical_column_with_identity(
          key=offset_name,
          num_buckets=dict_size,
          default_value=0),
      combiner='sqrtn',
      dimension=dimension,
      initializer=glorot_uniform(),
      ckpt_to_load_from=ckpt_to_load_from,
      tensor_name_in_ckpt=tensor_name_in_ckpt

It throw Exception 'tuple' object has no attribute 'is_compatible_with' when ckpt_to_load_from was setted.
It's OK when ckpt_to_load_from and tensor_name_in_ckpt are None

Willing to contribute

Yes

@francktcheng
Copy link
Collaborator

This issue has been resolved in (#123 )

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

2 participants