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

TypeError: __init__() got an unexpected keyword argument 'train' in "data = DataReader(config, train=False)" #6

Open
timothyvanco opened this issue Feb 14, 2021 · 0 comments

Comments

@timothyvanco
Copy link

Hi, great code. I tried to look on your colab code and run it. I was using GPU in google colab, but instead of that, it was really slow. So first I wanted to know, if the code is good and running good, so I changed number of epochs to 50, just to see a result.

My 1. question: Can I run a code first just on 50 epochs to see if it is good and then run it on 1000 epochs? Or there will be a huge difference?

Then I got stuck on a problem in the part - Generate embeddings and visualize using T-SNE.
Exactly in this line of code - "data = DataReader(config, train=False)" and I got this error: "TypeError: init() got an unexpected keyword argument 'train'". I cant find any argument "train" in DataReader. So my 2. question is: Is there a mistake or do I need to change something?

And my 3. question, this code looks so amazing but is also really big/long. Is it possible to use this code also for any other dataset and I just need to change something?

Thank you for your time! Have a nice day :)

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