Skip to content

Conversation

@saamc
Copy link
Collaborator

@saamc saamc commented Mar 27, 2018

Hi,

some code changes for importing AVLetters database.

Copy link
Owner

@georgesterpu georgesterpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bash scripts wouldn't play nice on Windows platforms. This one seems easy to port.

@georgesterpu georgesterpu self-assigned this Mar 27, 2018
for f in $src_dir/Lips/*.mat; do ln -s $f data/Lips/$(basename ${f/-lips/}); done
#make labels from the file name, this is just the first letter
mkdir data/Label
for f in data/Audio/mfcc/Clean/*.mfcc; do name=$(basename $f ".mfcc"); echo $name ${name/[0-9]_*} > data/Label/$name.mlf; done
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bash scripts wouldn't play nice on Windows platforms. This one seems easy to port.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably just as fast to put it in a python script that runs anywhere

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird, should be "data/Label/$name.lab"

georgesterpu
georgesterpu previously approved these changes Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants