Giter VIP home page Giter VIP logo

Comments (8)

felixbur avatar felixbur commented on August 23, 2024

but you can have relative and absolute paths in nkululeko?
relative meaning, it starts from the database root location.
Isn't that sufficient?

from nkululeko.

bagustris avatar bagustris commented on August 23, 2024

Relative and absolute paths are to define the database path (e.g, CSV file) not the content of file header inside the CSV file, right?

Suppose I have train.csv containing the following,

file, emotion
train_001.wav, fear
train_002.wav,  sad
train_003.wav, happy
...
train_100.wav, neutral

With the current configuration, is that possible to run nkululeko.nkululeko without any pre-processing?

Also currently there is target option for the labels, e.g., target=emotion. How Nkululeko could recognize audio path header in CSV file? I just assume all datasets use file as header. If this is the case, we also need to specify an audio header similar to target.

from nkululeko.

bagustris avatar bagustris commented on August 23, 2024

I checked it can be accomplished to set the root directory under [EXP] section. It needs clarity to the INI file and and documentations.

from nkululeko.

felixbur avatar felixbur commented on August 23, 2024

I checked it can be accomplished to set the root directory under [EXP] section. It needs clarity to the INI file and and documentations.

that's actually the root for the experiment results, not neccessarily the databases!

from nkululeko.

felixbur avatar felixbur commented on August 23, 2024

And, yeah, documentation is still mainly my blog, that#s a weak point.
So, you have to set the root directory (of the data) and you can specify the path to the audios from there, but if that would be useful, adding another key for an (optional) audio_path that would mean the path between database root and audiofiles root, would of course be no problem

from nkululeko.

bagustris avatar bagustris commented on August 23, 2024

I am wrong when stating that defining root dir will solve this issue. I tried on TESS dataset (still in my branch), and it doesn't work. Still need the full path inside file header of the CSV file. So, the request of this feature is still valid.

This also will help if the dataset directory is not inside data Nkululeko directory (of course one can make softlinks for simple).

from nkululeko.

felixbur avatar felixbur commented on August 23, 2024

ok, i add this later today. The data directory does NOT have to be inside the nkululeko root! ACtually a Nkululeko root is NOT necessary at all!

from nkululeko.

felixbur avatar felixbur commented on August 23, 2024

done in 0.63.3
https://github.com/felixbur/nkululeko/blob/main/ini_file.md#data

from nkululeko.

Related Issues (20)

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.