Comments (9)
Could be related to PyTorch version. The code is written using PyTorch 0.3.1. We have not tested with 0.4.
from hbmp.
Hi. Thanks for using our code. Are you running this on a machine with a GPU? Which version of PyTorch are you using. -Aarne
from hbmp.
Yes, I am running this on Google Colab and selecting GPU on Jupyter notebook.
PyTorch-0.4.1
from hbmp.
Now I have these versions:
Python (3.6.7)
Pytorch (0.3.1)
Numpy (1.14.3)
Torchtext (0.2.1)
SpaCy (2.0.11)
But there is an error:
Traceback (most recent call last):
File "train.py", line 393, in
main()
File "train.py", line 156, in main
map_location=lambda storage, location: storage.cuda(config.gpu))
File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 267, in load
return _load(f, map_location, pickle_module)
File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 420, in _load
result = unpickler.load()
AttributeError: Can't get attribute '_rebuild_tensor_v2' on <module 'torch._utils' from '/usr/local/lib/python3.6/dist-packages/torch/_utils.py'>
from hbmp.
Could it be that the code cannot locate the pretrained word embeddings. Have you run the download_data.sh script? That should download the word embeddings.
from hbmp.
from hbmp.
I tried to solve this issue:
https://github.com/Zeinab-Kouhkan/HBMP
from hbmp.
Hi, Unfortunately I don't have resources or time to verify and fix the issue. Let me know if you find a fix.
Aarne
from hbmp.
Closing this for now. Let me know if you still experience the issue.
from hbmp.
Related Issues (9)
- AttributeError: type object 'SciTail' has no attribute 'urls' HOT 3
- Could this model run on the newest pytorch version? HOT 6
- some question on SentEval tools
- Everytime i runing your code i need re-download the glove.840B.300d.zip HOT 3
- do you have another version of code? HOT 1
- what is the meaning of 600D HOT 1
- original image of hbmp architecture
- About transfer tasks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hbmp.