From 1b5e152155a572c6d22c0b175ba41eeee6275d6a Mon Sep 17 00:00:00 2001 From: "fuzailpalnak@gmail.com" Date: Sat, 8 Jan 2022 12:09:35 +0100 Subject: [PATCH] readme updated --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 165fe9f..8432e32 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,7 @@ where_i_want_to_store_my_data = "where_i_want_to_store_my_data_path" training_data_set_over_images(where_is_my_data, where_i_want_to_store_my_data) ``` -#### Generate Data from Videos - +#### Generate Data from Videos with Parameters ```python from ivu.data.creation import training_data_set_over_videos @@ -42,6 +41,13 @@ where_i_want_to_store_my_data = "where_i_want_to_store_my_data_path" # Set the width and height to a non negative integer if the frame has to be resized training_data_set_over_videos(where_is_my_data, where_i_want_to_store_my_data, width=-1, height=-1) ``` + +#### Generate Data from Videos with config +```python +from ivu.data.creation import training_data_set_over_videos_using_conf +training_data_set_over_videos_using_conf("path_to_dat_config") +``` + #### Load generated data @@ -70,3 +76,12 @@ trainer = Trainer.train_with_normalized_distance_matrix(data_pth=r"path_to_pickl conf_pth=r"path_to_config") trainer.start_training() ``` + +#### Inference on data +```python +from ivu.inference import Inference + +vd = Inference.init_inference_from_config("path_to_config_file") +vd.run() + +```