v3.3 license check
Generate CSV for license information for EOL images, and instantiate the notebook to check those licenses. Using predicted-category.csv to capture all images in the training set (category.csv) and the Rare Species test set.
@thompsonmj , as this has gotten rather bloated, here is a summary of where we're at on the mis-match between predicted-catalog.csv and the media manifest that should link to all these entries.
eol_media_duplicates.csv: File with all images frompredicted-catalog.csvthat are duplicated in the media manifest, i.e., theirMedium Source URLs match, but other identifiers are distinct.eol_cp_not_media.csv: File with all images frompredicted-catalog.csvthat do not match to media manifest.ToL_media_mismatch.ipynb: Notebook that explores and creates these files.
Note: Most mis-matched images and duplicates are in TreeOfLife-10M (i.e., they are in catalog.csv), but there are none in Rare Species dataset.
Three versions of media manifest:
- July 6 Media Manifest
- July 26 Media Manifest -- should be primary to match with our catalogs.
- Dec 6 Media Manifest
data/eol_files/media_content_not_catalog.csv is the CSV with all EOL content IDs that are in the July 26 Media Manifest, but don't match to EOL content and page IDs in predicted-catalog (matching via inner merge on EOL content & page IDs).
Idea is to pull all these images from their EOL Source URLs and match them against the images listed in eol_cp_not_media.csv, which has all the predicted-catalog images (tol ID, EOL content & page IDs) that don't match to media manifest.
Note: only files with "No known copyright restrictions" for License Name are missing the URL.
Any unknown title has "not provided".