Comments (7)
Forgot to mention, that i tried to do it in Jupiter notebook and according to error something wrong with printing, I created PR to fix it.
from pykaldi.
Hmm, this is a weird problem. Importing _str
module directly in matrix/__init__.py
shouldn’t be necessary since it is being imported indirectly when set_printoptions
function is imported. This is a quirk of the python import system but it only works inside __init__.py
files. From the error message I see that the __init__.py
file was somehow renamed to init.py
when installed and I think that is why the direct import is needed. What I don’t understand is how and why that __init__.py
file was renamed to init.py
. @vrmpx Do you know if this is something that happens on some platforms? If this is the case then we might have a bunch of these problems in the codebase.
from pykaldi.
Hi @fgvbrt,
I see that you are using Anaconda and Python 3.5.
In order to replicate this problem, would you mind telling me:
- what OS are you using?
- what anaconda version are you using?
Thanks
from pykaldi.
Hi @vrmpx, please find details below:
- Ubuntu 16.04.4
- conda 4.3.29, anaconda Command line client (version 1.5.1), for installation I used conda environments with Python 3.5.5
from pykaldi.
Hmm, scratch that renaming theory. It was github's formatting which turned those double underscores in the error message to bold text.
from pykaldi.
@fgvbrt I have been looking into why this happened but I couldn't find anything online and we cannot replicate it on our end. The reason I haven't merged #31 yet is because I want to understand the reason why this is an issue on your end only.
Could you help us debug this by running these test scripts on your system and sending us the output? Please run them as scripts, i.e. do not type them into an ipython session, so we can make sure no other packages are interfering with their operation. Also make sure you run them against vanilla PyKaldi, i.e. without the change in #31.
Here is the output I am getting
>>> python test1.py
1 2
3 4
[kaldi.matrix.Matrix of size 2x2]
>>> python test2.py
0
0
0
0
[kaldi.matrix.SubVector of size 4]
from pykaldi.
Hi @dogancan I am getting the same output. And with latest master I also can't reproduce the error in first message. Thanks for help.
from pykaldi.
Related Issues (20)
- How to use the /kaldi/alignment.py
- check_dependencies.sh - Issue with numpy HOT 1
- Broken Wheels HOT 6
- Install kaldi script fails with missing folder HOT 10
- nnet3-compute output dim not as expected HOT 1
- GetPdf method in AmDiagGmm HOT 2
- Pykaldi on Conda Forge HOT 8
- fstext/_symbol_table.so: undefined symbol
- Could not find Kaldi. Please install Kaldi under the tools directory or set KALDI_DIR environment variable. HOT 1
- A TDNN-LSTM model is supported for pykaldi ? HOT 1
- ImportError: libkaldi-base.so: cannot open shared object file: No such file or directory HOT 1
- Error install CLIF
- look for help about the PyKaldi HOT 1
- clif setup.py fails for python3.10 HOT 3
- Path in run_vad.sh is incorrect
- python setup.py test failes with kaldi module not found HOT 1
- PyKaldi Installed successfully but can not be imported HOT 1
- fatal error: 'map' file not found when installing CLIF HOT 1
- compare mfcc failure: libkaldi-base.so: cannot open shared object file: No such file or directory
- How to create a portable wheel? 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 pykaldi.