Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzailpalnak committed Jan 8, 2022
1 parent d6401cb commit 1b5e152
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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


Expand Down Expand Up @@ -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()

```

0 comments on commit 1b5e152

Please sign in to comment.