backaad/african-food-calories
Image Classification • Updated • 18 • 1
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
~~~~~~~~~~~~~~~~~~~~~~~~~^
StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/harbor/harbor.py", line 171, in _split_generators
raise DataFilesNotFoundError("No task.toml or instruction.md files found")
datasets.exceptions.DataFilesNotFoundError: No task.toml or instruction.md files found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This repository contains no image. It describes the data behind the African Food Calories app and model (backaad/african-food-calories): where every training image comes from, under which licence, and how the calories of each dish are estimated.
| File | Content |
|---|---|
sources.yaml |
Every image source considered, its licence, authors to credit, and the decision (approved, training only, excluded...) with its reason |
ATTRIBUTION.csv |
Author and licence of each Wikimedia Commons photo used for training |
data-inventory.md |
Number of usable images per dish and source |
dishes.yaml |
The 44 dishes, their names in English and French, countries |
nutrition_recipes.yaml |
Standard recipe of each dish: grams of each WAFCT 2019 food per 100 g |
nutrition_dishes.json |
Energy, protein, fat, carbohydrate, fibre per 100 g and per portion, as low / typical / high |
nutrition-method.md |
How the values are computed, and their limits |
LICENSES.md |
Licence of each file and of each source |
The images can be downloaded again from their sources with the scripts in
data/. CamerFood10 is used for training only and is
never redistributed.
Nutrition values are estimates to be validated by a nutritionist. They are not medical advice.