According to http://www.mathworks.de/support/solutions/en/data/1-EUTG50/index.html?solution=1-EUTG50,there r 3 options, i chose the second one and it works:
"To disable this feature you can reboot the computer and bring up the kernel command line in the boot menu. From the kernel command line, you can run: biosdevname=0 to disable this feature.".
But i dont know how to enter the kernel command line...(where is it btw?). My way is:
1. Edit /etc/default/grub
$ sudo gedit /etc/default/grub
add GRUB_CMDLINE_LINUX_DEFAULT="biosdevname=0" at the end of the file
2. Update grub2
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
3. reboot
i have tried other methods before this works, so i am not sure if this alone will help.:-(
if u tried the solution above, plz reply and tell me if that works.Thx :-) also as sort of stimulation for me so i can keep posting something i think important and helpful.
坑爹1:尝鲜安装了Fedora 16,结果Matlab 2011b不能激活了。各处google,发现原因是由于这个教Biosdevname的新东西改变了原来网卡的命名规则,我ifconfig了一下,发现我不再拥有叫做eth0的东西了,取而代之以p12**的根据我网卡性质命名的设备。这个小改变本来是为了区分服务器上的多块网卡(eth0,1,2),但是,这一改变造成了很多以eth为寻找对象的程序无法识别。比如Matlab的激活程序,似乎是根据eth0的Mac地址来激活的(不负责任猜想),因为这一改变导致无法激活。花了俩小时。
坑爹2:Ubuntu里,刷新Grub2的命令是update-grub,在Fedora执行,发现无此命令。google后得到解答。
发现开源真是各种坑爹阿!
P.S.谁能告诉我 kernel command line 在那,怎么进?
2011年12月23日 星期五
2011年12月22日 星期四
linux下HTK安装以及测试
到HTK网站下载源码,解压缩。
1.$ cd htk目录
2.$ ./configure --prefix=/usr/local
设定安装目录为/usr/local
3.直接make & make install会有错误
$ cd htk目录/HLMTools
$ gedit Makefile
修改第77行,删除77行前面的8个空格,然后取而代之以Tab(太坑爹了),保存
$ cd htk目录
$ sudo make all
$ sudo make install
下载HTKDemo,解压缩
1.$ cd samples目录
2.$ cd HTKDemo
3.$ mkdir test proto hmms
$ cd hmms
$ mkdir hmm.0 hmm.1 hmm.2
$ cd ..
$ ./runDemo configs/monPlainM1S1.dcf
得到结果:
====================== HTK Results Analysis =======================
Date: Thu Dec 22 18:30:31 2011
Ref : labels/bcplabs/mon
Rec : test/te1.rec
: test/te2.rec
: test/te3.rec
------------------------ Overall Results --------------------------
SENT: %Correct=0.00 [H=0, S=3, N=3]
WORD: %Corr=64.66, Acc=56.39 [H=86, D=36, S=11, I=11, N=133]
===================================================================
环境:Fedora 16.
HTK版本:3.4.1
1.$ cd htk目录
2.$ ./configure --prefix=/usr/local
设定安装目录为/usr/local
3.直接make & make install会有错误
$ cd htk目录/HLMTools
$ gedit Makefile
修改第77行,删除77行前面的8个空格,然后取而代之以Tab(太坑爹了),保存
$ cd htk目录
$ sudo make all
$ sudo make install
下载HTKDemo,解压缩
1.$ cd samples目录
2.$ cd HTKDemo
3.$ mkdir test proto hmms
$ cd hmms
$ mkdir hmm.0 hmm.1 hmm.2
$ cd ..
$ ./runDemo configs/monPlainM1S1.dcf
得到结果:
====================== HTK Results Analysis =======================
Date: Thu Dec 22 18:30:31 2011
Ref : labels/bcplabs/mon
Rec : test/te1.rec
: test/te2.rec
: test/te3.rec
------------------------ Overall Results --------------------------
SENT: %Correct=0.00 [H=0, S=3, N=3]
WORD: %Corr=64.66, Acc=56.39 [H=86, D=36, S=11, I=11, N=133]
===================================================================
环境:Fedora 16.
HTK版本:3.4.1
訂閱:
文章 (Atom)