Add central config and seed utility
@Sandali0726 is already working on this.
Since Oct 9, 2026.
Assessment
This issue has not been assessed yet.
Description
One place for all constants so experiments are consistent.
Files: src/config.py
Tasks
- Constants:
SEED=42,IMG_SIZE=64,NUM_CLASSES=3,CLASSES=['cats','dogs','snakes'],BATCH_SIZE=32,EPOCHS=30,SOTA_EPOCHS=15, paths for data/results/figures -
set_seed(seed)seedingrandom,numpyandtorch -
get_device()returning cuda if available else cpu
Done when
Other modules import constants from src.config instead of hard-coding them.
Depends on
#3
Close with a commit or PR message containing Closes #<this issue>.
- Dominant language
- Jupyter Notebook
- Stars
- 0
- Forks
- 0
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from VisionForgeCSE/CNN-For-Image-Classification
-
evaluation
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
evaluation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
evaluation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
training
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Optimizer factoryOpentraining
Difficulty 2/5 1-3 hours Newbie friendliness 65/100