FishNet: A Large-scale Dataset and Benchmark for Fish Recognition, Detection, and Functional Traits Prediction(ICCV 2023)
Faizan Farooq Khan, Xiang Li, Andrew Temple, and Mohamed Elhoseiny.
We present FishNet, a comprehensive benchmark for large-scale aquatic species recognition, detection, and functional trait identification. Our benchmark dataset is based on an aquatic biological taxonomy, consisting of 8 taxonomic classes, 83 orders, 463 families, 3,826 genera, 17,357 species, and 94,532 images. The dataset also includes bounding box annotations for fish detection. Additionally, the dataset encompasses 22 traits, grouped into three categories: habitat, ecological rule, and nutritional value. These traits facilitate the identification of the ecological roles of aquatic species and their interactions with other species.
To download the required files, follow these steps:
-
Image Files: All the images can be found here.
Change
args.data_root
inmain.py
file to YOUR_PATH. -
Classification and Functional Traits Annotation Files: The files can be found in the
anns/
folder. -
Detection Annotation Files: Download [bbox.zip] file for detection annotations.
conda env create -f env.yaml
python main_v2.py --model mode_id --label_column Order
mode_id denotes the id of vision model to use, should be choosen from below:
model mappings
0 : vit_base
1 : vit_small
2 : vit_large
3 : r34
4 : r50
5 : r101
6 : r152
7 : beit
8 : convnext
label_column denotes the attrubute used for classification, choosen from:
Family: Faimily level classification
Order: Order level classification
MultiCls: Functional traits classification
For other parameters, please check main.py
file.
Please check paper for detailed results. All pretrained model weight can be found at weights.
We use mmdetction library for fish detection. Please refer to the tutorial for getting started.
- timm. A popular deep-learning library.
- mmdetction. MMDetection is an open source object detection toolbox based on PyTorch. It is a part of the OpenMMLab project.
If you're using FishNet in your research or applications, please cite using this BibTeX:
@inproceedings{khan2023fishnet,
title={FishNet: A Large-scale Dataset and Benchmark for Fish Recognition, Detection, and Functional Trait Prediction},
author={Khan, Faizan Farooq and Li, Xiang and Temple, Andrew J and Elhoseiny, Mohamed},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={20496--20506},
year={2023}
}