Are you sure you want to delete this access key?
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
This project covers building a facial recognition model using the FER dataset. The model is built on top of a VGG19 model using transfer learning. The main repository utilizes DagsHub Client to stream data directly from the remote repository. For a more conventional pipeline clone the second branch repository which utilizes the files as dependencies in the DVC Pipeline.
While you can clone and use the main branch for this project, its primary use is more of a reference in order to provide customizability in running the project from the second branch
Clone the second repository
pip install the requirements.txt (Make sure to have python 3.X installed)
Option 1: To get the fer2013.csv file you run 'dvc pull' to get the dvc versioned files. You can also navigate to https://www.kaggle.com/datasets/ashishpatel26/facial-expression-recognitionferchallenge and download the data file directly. Make sure to place the file in the 'data/raw' subdirectory. After the data is pulled simply run dvc repro.
Option 2: Alternatively, you can alter the dvc.yaml file and remove the fer2013.csv as a dependency in the "process_data" stage and simply utilize the DDA Python Hooks to stream the data from the remote repository. This implementation is shown in the main branch version of preprocess.py. After these changes are made you can run 'dvc repro' to run each stage.
To tune your model hyperparameters you can utilize the tune_model.ipynb notebook which uses a keras tuner to find the best parameters and tracks the performance on mlflow. The tracking uri is set to this repository so if you are planning to run experiments you will need to refer to the following url for more information: https://dagshub.com/docs/integration_guide/mlflow_tracking/
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?