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

Cannot run the provided examples for creating new models #96

Open
rocketsfallonrocketfalls opened this issue Nov 20, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@rocketsfallonrocketfalls
Copy link

rocketsfallonrocketfalls commented Nov 20, 2020

Hi,

Thanks for the framework. I've been spending my time for a while to understand how can I work with TAPE. I tried running the example for a few hours now but I cannot make it work.

I run the command: python adding_model.py simple-conv secondary_structure, and I get the following error:
image

Then after searching it through internet I've came across a solution to reduce number of workers to zero which could also be applied to TAPE by changing the command to (while also using a mini-batch for another memory error): python adding_model.py simple-conv secondary_structure --num_workers 0 --batch_size 512:
I am now getting the error:
image

I don't want to change the code because I assume that they should work fine, right?

@rmrao
Copy link
Collaborator

rmrao commented Dec 17, 2020

Huh. This is strange. To be honest I wrote this example quite a while ago so I don't know off the top of my head what the issue could be. I will investigate as time permits.

@rmrao rmrao added the bug Something isn't working label Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants