foley.sources.clotho#
Clotho-eval — a captioned Ring-0 corpus that doubles as a retrieval fixture.
Clotho (report 11 §1.2 / §2.1) is an audio-captioning benchmark built from a Freesound subset; its evaluation split is a Ring-0 seed corpus and a retrieval fixture. Audio must be downloaded locally; this adapter only enumerates, licenses and (optionally) captions it.
Rights are per clip and per asset (#68, report 14 §3.11):
Audio keeps each file’s own Freesound licence, read from the
licensecolumn ofclotho_metadata_*.csvwith its CC version (CC0, CC BY 3.0, CC BY-NC 3.0, Sampling+ in the eval split). A clip absent from the metadata, or under an unrecognised licence, fails closed (unknown, unverified). So no non-commercial clip passesfoley.keep()under commercial intent.Captions are licensed by Tampere University for non-commercial use only (not CC-BY 4.0, as report 11 said). They are therefore not put into the library’s keyword index by default: an index is not intent-aware at query time, and foley’s default intent is commercial. A non-commercial / eval-only library can opt in:
register_corpus(dataclasses.replace(CLOTHO, include_captions=True)).
Module Attributes
it is never a sound's licence, only the reason captions stay out of a commercial index). |
|
The Clotho-eval Ring-0 adapter (audio licensed per clip; captions excluded). |
Classes
|
Ring-0 Clotho-eval adapter: per-clip Freesound licences; captions opt-in (NC). |
- foley.sources.clotho.CAPTION_LICENSE = 'Tampere-University-Clotho-captions (non-commercial only)'#
it is never a sound’s licence, only the reason captions stay out of a commercial index).
- Type:
What the caption text is licensed under (not a LICENSE_FLAGS row
- foley.sources.clotho.CLOTHO = ClothoEvalCorpus(name='clotho', ring=0, default_license_id='CC-BY-4.0', source='clotho', rights_verified=True, tag_hints_from_path=False, include_captions=False)#
The Clotho-eval Ring-0 adapter (audio licensed per clip; captions excluded).
- class foley.sources.clotho.ClothoEvalCorpus(name, ring, default_license_id, source, rights_verified=True, tag_hints_from_path=False, include_captions=False)[source]#
Bases:
UniformCorpusRing-0 Clotho-eval adapter: per-clip Freesound licences; captions opt-in (NC).
- include_captions: bool = False#
Put the (non-commercial) human captions into the keyword index. Off by default.