Comments (5)
What is your numpy version? I remember something similar happening with the latest one.
from nlpnet.
The version is '1.17.0' (the latest one).
from nlpnet.
Same error here with nlpnet.SRLTagger()
from nlpnet.
This was a compatibility issue with numpy 1.17, and is fixed now. Please check if it is working.
from nlpnet.
Now i have that error:
File "", line 1, in
File "/usr/local/lib/python3.5/dist-packages/nlpnet/taggers.py", line 205, in init
self._load_data()
File "/usr/local/lib/python3.5/dist-packages/nlpnet/taggers.py", line 224, in _load_data
self.boundary_nn = load_network(md_boundary)
File "/usr/local/lib/python3.5/dist-packages/nlpnet/taggers.py", line 38, in load_network
nn = net_class.load_from_file(md.paths[md.network])
File "networkconv.pyx", line 245, in nlpnet.network.ConvolutionalNetwork.load_from_file
File "networkconv.pyx", line 223, in nlpnet.network.ConvolutionalNetwork._load_from_file
File "network.pyx", line 258, in nlpnet.network.Network.padding_left.set
TypeError: can't multiply sequence by non-int of type 'float'
My test code:
import nlpnet
nlpnet.set_data_dir('/home/srl-pt')
tagger = nlpnet.SRLTagger()
tagger.tag(u'O rato roeu a roupa do rei de Roma.')
from nlpnet.
Related Issues (20)
- nlpnet giving error when loading own embedding in english language HOT 8
- Error when using pip to install
- Onde posso encontrar o significado das siglas? HOT 7
- Dependency parser for portuguese HOT 2
- Need clarity on Dependency Relations output by Dependency Parser. HOT 1
- where to get the model for posTag for english ? HOT 4
- Invalid data directory HOT 2
- Error POS Training HOT 10
- problem on initial import HOT 5
- h5py Depency isn't listed in setup.py HOT 1
- [IOError: Failed to interpret file 'models/srl-class-predicates.npz' as a pickle] Error while running nlpnet-test.py HOT 4
- KeyError while using nlpnet-test.py with --id HOT 1
- Python 3.7.3 incompability HOT 2
- "can't multiply sequence" when SRLTagger HOT 4
- Error when installing nlpnet with pip3 on Mac Catalina HOT 5
- nlpnet install error HOT 5
- nlpnet install error with pip on linux HOT 3
- nlpnet import error HOT 2
- Python==3.10 and Numpy==1.23 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 nlpnet.