sparse_caption.scst.cider.pydataformat package

Submodules

sparse_caption.scst.cider.pydataformat.jsonify_refs module

sparse_caption.scst.cider.pydataformat.loadData module

Load the reference and candidate json files, which are to be evaluated using CIDEr.

Reference file: list of dict(‘image_id’: image_id, ‘caption’: caption). Candidate file: list of dict(‘image_id’: image_id, ‘caption’: caption).

class sparse_caption.scst.cider.pydataformat.loadData.LoadData(path)

Bases: object

readJson(refname, candname)

Module contents