GithubHelp home page GithubHelp logo

ILP clustering - JDK 1.8 about lium HOT 20 OPEN

stevenlol avatar stevenlol commented on May 27, 2024
ILP clustering - JDK 1.8

from lium.

Comments (20)

ahmetaa avatar ahmetaa commented on May 27, 2024 4

Just FYI, I made a copy of Lium Speaker Diarization code (under GPL) that works with Java-8.

https://github.com/ahmetaa/lium-diarization

The problem was the XStream classes, I updated it and create a build script that can generate a new jar-with-dependencies file. You can open the project under IDEA and run the "stand-alone-jar" target.

from lium.

StevenLOL avatar StevenLOL commented on May 27, 2024

Seems that you didn't hit ILP yet,

  1. for ILP you can try

sudo apt-get install glpk-utils

to check if you have installed it:

$which glpsol

The error related to ILP is

Exception in thread "main" java.io.IOException: Cannot run program "glpsol": error=2, No such file or directory...

  1. did you download UBM and models?

http://www-lium.univ-lemans.fr/diarization/lib/exe/fetch.php/data_ilp.tgz

  1. I test all above on UBUNTU 14.04 just now no problem found.

from lium.

libeppi avatar libeppi commented on May 27, 2024

Thank you for your reply! i checked everything you suggested, and running "tree", gives me the same structure you posted in the homepage. Probably i'm still missing something. I'll let you know.

Thank you.
.
├── go.sh
├── go.sh~
├── ilp_diarization2.sh
├── ilp_diarization2.sh~
├── LICENSE
├── LIUM_SpkDiarization-8.4.1.jar
├── mat
│   ├── wld.efn.xml
│   ├── wld.mahanalobis.mat
│   └── wld.tv.mat
├── models
│   ├── gender.gmms
│   ├── s.gmms
│   ├── sms.gmms
│   └── ubm.gmm
├── README.md
├── t001.out.seg
├── test_out
│   └── t001
│   ├── t001.d.3.seg
│   ├── t001.flt.3.seg
│   ├── t001.g.3.seg
│   ├── t001.gmms
│   ├── t001.h.3.seg
│   ├── t001.init.gmms
│   ├── t001.i.seg
│   ├── t001.l.seg
│   ├── t001.mfcc
│   ├── t001.pms.seg
│   └── t001.s.seg
├── test_wav
│   └── t001.wav
└── ubm
└── wld.gmm

from lium.

StevenLOL avatar StevenLOL commented on May 27, 2024

Better check your "wld.efn.xml", download from

http://www-lium.univ-lemans.fr/diarization/lib/exe/fetch.php/data_ilp.tgz ?

from lium.

libeppi avatar libeppi commented on May 27, 2024

still not working, i just doublechecked and re-downloaded all the files needed. :(

from lium.

StevenLOL avatar StevenLOL commented on May 27, 2024

if your └── wld.gmm in folder ubm?

from lium.

libeppi avatar libeppi commented on May 27, 2024

yes, i re-checked again, nothing yet
image

from lium.

libeppi avatar libeppi commented on May 27, 2024

Steven, can you please paste here what happens after:
02:56.304 MatrixIO INFO | read ./mat/wld.tv.mat: row : 3072 col:50 {readRectMatrix() / 1}
02:56.450 TrainIVectorOrTINFO | Compute statistics {make() / 1}
02:56.628 TrainIVectorOrTINFO | Train i-vector {make() / 1}
02:56.629 TotalVariabilitINFO | sent #: 0 {estimateL() / 1}

I think i'm getting closer to the issue. Probably it's not able to open mat/wld.efn.xml
Thank you

from lium.

libeppi avatar libeppi commented on May 27, 2024

Problem solved - JDK 1.8 was the problem, i downgraded to 1.7 and it is now working

from lium.

StevenLOL avatar StevenLOL commented on May 27, 2024

Sorry, the "glpsol1" in ilp_diarization2.sh should be glpsol . I saw your comment on my mobile phone, but I cant't find it on github.

For this issue, maybe it is caused by Java? Or system encoding ? I have this application running on 64bits ubuntu 10.04, 12.04, 12.10 ,14.04, using openjre7 or Oracle java 7, but never encounter this problem. I would like to know your platform, and do you test it on a Visual Machine or Live CD?

from lium.

StevenLOL avatar StevenLOL commented on May 27, 2024

Oh,problem solved, thanks libeppi

from lium.

libeppi avatar libeppi commented on May 27, 2024

👍

from lium.

zXpp avatar zXpp commented on May 27, 2024

hi,i agree with him that your script is great ,but i met problem when i run the program ,i want to get the output file including: "t001.ilp.problem.120.txt" and "t001.ilp.solition.120.txt" . but when i ./go.sh it wont show these two files .the first is your output files,the second is my tree structure.you can see there are no these two files.I already installed glpk ,and it can work .the last is my result information.so please help slover this problem !thank u
np0n tabjllq_s1hhfz7kom

image
qq 20160406224854

from lium.

zXpp avatar zXpp commented on May 27, 2024

ok my problem is also solved using jdk 1.7!

from lium.

zXpp avatar zXpp commented on May 27, 2024

this is the content of the file--t001.ev_is.120.seg.can u tell me what the meaning of the figures and parameters? thank u!
Uploading FN(G6GMI)UGNC$8)6U@8EVX.png…

from lium.

zXpp avatar zXpp commented on May 27, 2024

fn g6gmi ugnc 8 6u 8evx

from lium.

libeppi avatar libeppi commented on May 27, 2024

Hi zxpp

for example:

9981217_0700_0800_inter_fm_dga 1 1 317 F S U spk0

1 9981217_0700_0800show name
2 1 channel number
3 1 segment start
4 317 lenght of segment
5 F Speaker gender (U unknown, F female, M man)
6 S bandwidth type (T telephone, S studio)
7 U enviroment type (music, speech, ecc)
8 Spk0 speaker label

from lium.

zXpp avatar zXpp commented on May 27, 2024

2054483722
thank u ! i got it ,but i still have further questions need your help:
the picutre is another wave file result clusterset;
1.have u noticed that almost every cluster enviroment type were U,but it was music or speech or laugher obviously,why all were detected to unknown?
2 .this is the clusterset reslut,do u know how to run the next step and get the final DER result like the following chart?? the LIUM website didnt mentioned it ,and i am not familiar with java,can u help me ?
thank you !
8724b416-af99-49c8-9369-5028e737f113

from lium.

StevenLOL avatar StevenLOL commented on May 27, 2024

Hi,@zXpp
If you have the evaluation data, then I think there should have documents on system output format and how to get the DER.

You may find useful tools at NIST :http://www.nist.gov/itl/iad/mig/tools.cfm

from lium.

ahmetaa avatar ahmetaa commented on May 27, 2024

So why is it failing in Java 8?

from lium.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.