AlliedToasters / dfencoder

BSD 3-Clause "New" or "Revised" License
129 stars 49 forks source link

show_embeddings() function is missing from 'IpynbLogger' #9

Closed shuowenwei closed 3 years ago

shuowenwei commented 3 years ago

Awecome repo first of all! Thank you!

When I ran the demo notebook I have the follow errors, I think show_embeddings() function is missing from 'IpynbLogger' class:

AttributeError: 'IpynbLogger' object has no attribute 'show_embeddings'

shuowenwei commented 3 years ago

@AlliedToasters this is what I changed in autoencoder.py line 615:

                if self.project_embeddings **and isinstance(self.logger, TensorboardXLogger):**
                    self.logger.show_embeddings(self.categorical_fts)
zaky9 commented 3 years ago

Hi after I updated with your correction, I received this error (below). Any solution?

TypeError: super(type, obj): obj must be an instance or subtype of type

AlliedToasters commented 3 years ago

Hey all, the original issue has been fixed with release of v0.0.37. Please give it a go!