File size: 613 Bytes
36c95ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Image Classifier Example
========================

This is a toy example implementing an image classification application.

1. Install dependencies

.. code-block:: python

  pip install -r requirements.tx

2. Execute the script: The entry point to this example is the file

.. code-block:: python

  python main.py

3. Modify the hyper-parameters in `config.yml` and execute

.. code-block:: python

  python main.py num_epochs=50

4. Sweep hyper-parameters

.. code-block:: python

  python main.py --multirun num_epochs=1 lr=1e-3,1e-4

Explore hydra to make cool stuff with the config files: https://hydra.cc/