The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: ValueError
Message: Invalid string class label TilapiaFish-Hunger@02aa3ee9bb884e14f6d1ac5494e162ba35f306b8
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2591, in __iter__
example = _apply_feature_types_on_example(
example, self.features, token_per_repo_id=self.token_per_repo_id
)
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2508, in _apply_feature_types_on_example
encoded_example = features.encode_example(example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2252, in encode_example
return encode_nested_example(self, example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1526, in encode_nested_example
{k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1549, in encode_nested_example
return schema.encode_example(obj) if obj is not None else None
~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1210, in encode_example
example_data = self.str2int(example_data)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1147, in str2int
output = [self._strval2int(value) for value in values]
~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label TilapiaFish-Hunger@02aa3ee9bb884e14f6d1ac5494e162ba35f306b8Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
TilapiaFish-Hunger
Online Hunger-Level Recognition of Tilapia from Underwater Video
This dataset contains underwater side-view video recordings of Nile tilapia (Oreochromis niloticus) collected for real-time feeding intensity / hunger level classification. It supports research on precision aquaculture and automated feeding systems.
Dataset Summary
Data were collected over consecutive days so that the fish could adapt to a fixed feeding schedule and exhibit a regular daily rhythm, closely simulating commercial farm conditions.
- Tilapia-ZED: 19 days, ZED camera (side-view, 1920Γ1080), 126,021 images β provided as
Tilapia-ZED.zip(β43.3 GB) - Tilapia-FD: 7 days, FD camera (side-view, 2560Γ1440), 89,994 images β provided as
Tilapia-FD.zip(β12.3 GB)
Total size: ~55.6 GB
Four hunger levels are annotated: None, Weak, Medium, Strong.
Collection Protocol
- Daily ration: 3% of estimated fish biomass (total ~15 kg, ~150 g per fish).
- Nine portions of 50 g were given each day (total 450 g/day).
- Arranged as three meals approximately three hours apart.
- Each meal consisted of three one-minute portions delivered at short intervals (~9 minutes of video per day).
- This stepwise delivery prevents the fish from consuming the whole meal at once and makes different hunger levels clearly visible within each meal.
Annotation
Labels were assigned by an aquaculture specialist who observed the fish from above the tank during and immediately after each feeding event. Classification was based on fish gathering speed and number, swimming speed, food consumption time, amount of leftover feed, and the overall intensity of the response.
Class definitions:
- None: No visible reaction to the feed.
- Weak: Slower, scattered movements with intermittent and low-intensity feeding.
- Medium: Only a portion of the fish actively approach the feed while others remain dispersed.
- Strong: Aggressive feeding with rapid movement toward the food and occasional water splashing outside the tank.
The specialist noted the exact moments when food was finished or when behavior transitioned (e.g., Strong β Medium). Any temporal gap after a transition was assigned to the subsequent class. After each session, the specialist reviewed the recorded video to confirm or correct the initial labels.
Sequence Construction
Consecutive frames were grouped into sequences of 10 frames with a stride of 5. Each sequence received the hunger label of its last frame and was treated as one sample. Sequences were partitioned into training and validation sets using a stratified 80:20 split, preserving the class distribution. All reported metrics are computed at the sequence level.
Dataset Statistics
| Dataset | Camera | Resolution | Days | Images | Classes | File |
|---|---|---|---|---|---|---|
| Tilapia-ZED | ZED | 1920Γ1080 | 19 | 126,021 | 4 | Tilapia-ZED.zip |
| Tilapia-FD | FD | 2560Γ1440 | 7 | 89,994 | 4 | Tilapia-FD.zip |
Citation
Paper is currently under submission. Please cite the project page if you use this dataset before the paper is published.
Related Resources
- Project page & code: https://ifa-research.github.io/FishBehavior/
- GitHub: https://github.com/IFA-Research/FishBehavior
- Dashboard of labels and predictions: https://biomass-dashboard-ac9fde8c2363.herokuapp.com/ (username:
guest, password:Guest2026)
License
CC-BY-NC-4.0. Please cite the work if you use the data.
- Downloads last month
- 145