Tuesday, October 31, 2017
Find and replace through regular expression
Wednesday, August 19, 2015
HMM Def Error
At the time of running: HCompV -C config_files/config_feature -f 0.01 -m -S flist -M hmm_GMV protos/proto_3s_2m
HMM Def Error: <Mean> symbol expected in GetMean at line 6/col 11/char 130 in protos/proto_5s_2m
ERROR [+7050] HMError:
HMM Def Error: GetMean Failed at line 6/col 12/char 131 in protos/proto_5s_2m
ERROR [+7050] HMError:
HMM Def Error: Regression Class Number expected at line 7/col 0/char 132 in protos/proto_5s_2m
ERROR [+7050] HMError:
HMM Def Error: GetMixtures failed at line 7/col 1/char 133 in protos/proto_5s_2m
ERROR [+7050] HMError:
HMM Def Error: Get Stream Information failed at line 7/col 2/char 134 in protos/proto_5s_2m
ERROR [+7050] HMError:
HMM Def Error: GetStream failed at line 7/col 3/char 135 in protos/proto_5s_2m
ERROR [+7050] HMError:
HMM Def Error: GetStateInfo failed at line 7/col 4/char 136 in protos/proto_5s_2m
ERROR [+7050] HMError:
ERROR [+7032] LoadHMMSet: GetHMMDef failed
ERROR [+2028] Initialise: LoadHMMSet failed
Wednesday, August 12, 2015
esignal.c:974: error: ‘ARCH’ undeclared (first use in this function)
esignal.c:974: error: 'ARCH' undeclared (first use in this function)
- Open the HTKLib/esignal.c file in a code-friendly text editor. You can use Xcode, or my personal favorite TextMate 2.
-
Find and change the below lines:
Change Line 974:
if (strcmp(architecture, ARCH) == 0) /* native architecture */To:
if (strcmp(architecture, "darwin") == 0) /* native architecture */Change Line 1184: ` architecture = ARCH;`
To: ` architecture = "darwin";`
-
Now, let's build! Run
make allin the terminal window
How to install x11 in cent OS
If you're trying to determine what package has a header file, you can either run:
repoquery -qf /usr/include/X11/Xlib.h (that will tell you what package has that file, you do need to know the full path, but it is usually pretty obvious)
Or, if you just want to install the package with that header file:
yum install /usr/include/X11/Xlib.h Yum can do that because it has filelists_db in the extended repodata. :)
Tuesday, August 11, 2015
sox FAIL formats: can't open input file `text1c.wav': No such file or directory
sox FAIL sox: Input files must have the same sample-rate
Friday, May 29, 2015
how to remove crossplatformui
Enter /var/lib/dpkg/info
cd /var/lib/dpkg/infoDelete all entry related to crossplatformui
sudo rm crossplatformui.*Force remove crossplatformui
sudo dpkg --remove --force-remove-reinstreq crossplatformui (Reading database ... dpkg: warning: files list file for package `crossplatformui' missing, assuming package has no files currently installed. (Reading database ... 159448 files and directories currently installed.) Removing crossplatformui ...
Source: http://askubuntu.com/questions/136423/crossplatformui-error