Monk 1.0

Standardising Computer Vision workflows.

GitHub Get Started

Monk

Monk is an open source framework for finetuning Deep Neural Networks using Transfer Learning

Version     Build_Status

Create an image classification experiment.

  • Load foldered dataset
  • Set number of epochs
  • Run training
ptf = prototype(verbose=1)
ptf.Prototype("sample-project-1", "sample-experiment-1")
ptf.Default(dataset_path="./dataset_cats_dogs_train/", 
                model_name="resnet18", freeze_base_network=True, num_epochs=2)
ptf.Train()

Inference

img_name = "./monk/datasets/test/0.jpg";
predictions = ptf.Infer(img_name=img_name, return_raw=True);
print(predictions)

Compare Experiments

  • Add created experiments with different hyperparameters
  • Generate comparison plots
ctf = compare(verbose=1);
ctf.Comparison("Sample-Comparison-1");
ctf.Add_Experiment("sample-project-1", "sample-experiment-1");
ctf.Add_Experiment("sample-project-1", "sample-experiment-2");
    .
    . 
    .