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

run failed in get_windows.ipynb #8

Open
DongShanHu opened this issue Dec 3, 2018 · 2 comments
Open

run failed in get_windows.ipynb #8

DongShanHu opened this issue Dec 3, 2018 · 2 comments

Comments

@DongShanHu
Copy link

call_() got an unexpected keyword argument 'tag'

i have the problem in
encoded_docs, decoder, word_counts = preprocess(
docs, nlp, MIN_LENGTH, MIN_COUNTS, MAX_COUNTS
)
i don't know why i have this problem

@DongShanHu
Copy link
Author

i skip the paremeter tag and parse in preprocess.py and run it success
but, while i run the step2 train.py
i have the problem about cuda like this
number of documents: 13109
number of windows: 1063444
number of topics: 25
vocabulary size: 7596
word embedding dim: 50
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=74 error=30 : unknown error
Traceback (most recent call last):
File "train.py", line 36, in
main()
File "train.py", line 32, in main
save_every=20, grad_clip=5.0
File "../utils/training.py", line 72, in train
weights = torch.FloatTensor(weights).cuda()
RuntimeError: cuda runtime error (30) : unknown error at /pytorch/aten/src/THC/THCGeneral.cpp:74

how i can solve it? tks

@avinashok
Copy link

Did you get answer for the second question @DongShanHu ? Do you know how to solve the "cuda" issue with the code @TropComplique ?

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

Successfully merging a pull request may close this issue.

2 participants