Tessellate-Imaging / monk_v1
- понедельник, 2 марта 2020 г. в 00:20:19
Jupyter Notebook
Monk is a low code Deep Learning tool and a unified wrapper for Computer Vision.
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()img_name = "./monk/datasets/test/0.jpg";
predictions = ptf.Infer(img_name=img_name, return_raw=True);
print(predictions)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");
.
.
.
ctf.Generate_Statistics();Copyright 2019 onwards, Tessellate Imaging Private Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project's files except in compliance with the License. A copy of the License is provided in the LICENSE file in this repository.