Skip to content

hoang-quoc-trung/vgg16-model-jax

Repository files navigation

VGG 16 by Jax and Flax

Add your files

cd existing_repo
git remote add origin https://gitlab.com/me2249/vgg-16-by-jax-and-flax.git
git branch -M main
git push -uf origin main

Installation

git clone https://gitlab.com/me2249/vgg-16-by-jax-and-flax.git
cd vgg-16-by-jax-and-flax
conda env create -f environment.yml
conda activate vgg_jax

Usage

  • Set training dataset like the following structure:
dataset
├── train
│   ├── class1
│   │   ├── image1.jpg
│   │   ├── image2.jpg
│   │   ├── image3.jpg
│   │   ├── ...
│   ├── class2
│   │   ├── image1.jpg
│   │   ├── image2.jpg
│   │   ├── image3.jpg
│   │   ├── ...
│   ├── ...
├── val
│   ├── class1
│   │   ├── image1.jpg
│   │   ├── image2.jpg
│   │   ├── image3.jpg
│   │   ├── ...
│   ├── class2
│   │   ├── image1.jpg
│   │   ├── image2.jpg
│   │   ├── image3.jpg
│   │   ├── ...
│   ├── ...
  • Change the config file in src/configs/config.py
  • Run the training file
python train.py --config-path src/configs/config.py --set-memory-growth

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published