Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.3%) to scientific vocabulary
Repository
Image Classification Dataset Generator
Basic Info
Statistics
- Stars: 3
- Watchers: 7
- Forks: 3
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
ICGen
Installation
pip install icgen
for a development installation see CONTRIBUTING.md
Usage
Sampling Datasets
python
import icgen
dataset_generator = icgen.ICDatasetGenerator(
data_path="datasets",
min_resolution=16,
max_resolution=512,
max_log_res_deviation=1, # Sample only 1 log resolution from the native one
min_classes=2,
max_classes=100,
min_examples_per_class=20,
max_examples_per_class=100_000,
)
dev_data, test_data, dataset_info = dataset_generator.get_dataset(
dataset="cifar10", augment=True, download=True
)
The augment parameter controls whether the original dataset is modified.
Options only affect sampling with augment=True and the min max ranges do not filter datasets.
The data is left at the original resolution, so it can be resized under user control. This is necessary to for example avoid resizing twice which can hurt performance.
You can also sample from a list of datasets
python
dataset_generator.get_dataset(datasets=["cifar100", "emnist/balanced"], download=True)
We provide some lists of available datasets
python
import icgen
icgen.DATASETS_TRAIN
icgen.DATASETS_VAL
icgen.DATASETS_TEST
icgen.DATASETS
or on the commandline you can get the names with
python -m icgen.dataset_names
Downloading Datasets Before Execution
To download datasets ahead of time you can run
python -m icgen.download --data_path DATA_PATH --datasets D1 D2 D3
or directly download a complete group
python -m icgen.download --data_path DATA_PATH --dataset_group GROUP # all, train, dev, test
Alternatively, you can also use the download=True flag of the dataset_generator.get_dataset function.
Reconstructing and Distributing Tasks
In distributed applications it may be necessary to sample datasets on one machine and then use them on another one. Conversely, for reproducibility it may be necessary to store the exact dataset which was used. For these cases icgen uses a dataset identifier which uniquely identifies datasets.
License
Owner
- Name: AutoML-Freiburg-Hannover
- Login: automl
- Kind: organization
- Location: Freiburg and Hannover, Germany
- Website: www.automl.org
- Repositories: 186
- Profile: https://github.com/automl
GitHub Events
Total
- Member event: 1
Last Year
- Member event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Danny | s****d@c****e | 13 |
| Fábio Ferreira | f****a@m****g | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 29 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 2
- Total maintainers: 1
pypi.org: icgen
Image Classification Dataset Generator
- Homepage: https://github.com/automl/ICGen
- Documentation: https://icgen.readthedocs.io/
- License: MIT
-
Latest release: 0.3.0
published about 6 years ago
Rankings
Maintainers (1)
Dependencies
- 118 dependencies