Skip to content

Commit

Permalink
Merge pull request #29 from renan-siqueira/develop
Browse files Browse the repository at this point in the history
Merge develop into main
  • Loading branch information
renan-siqueira authored Oct 16, 2023
2 parents 333b03a + 135d37a commit fe0af2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copy_randomic_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import shutil
import random

from settings.settings import COPY_SOURCE_FOLDER, DATA_PATH, COPY_FIXED_NUMBER_TO_COPY, TRAIN_PERCENTAGE
from settings.settings import COPY_SOURCE_FOLDER, DATASET_FOLDER, COPY_FIXED_NUMBER_TO_COPY, TRAIN_PERCENTAGE


def copy_files(
Expand Down Expand Up @@ -43,7 +43,7 @@ def copy_files(
if __name__ == '__main__':
copy_files(
COPY_SOURCE_FOLDER,
DATA_PATH,
DATASET_FOLDER,
fixed_number=COPY_FIXED_NUMBER_TO_COPY,
random_mode=True
)
1 change: 1 addition & 0 deletions settings/settings.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

# COPY RANDOMIC FILES
COPY_SOURCE_FOLDER = '__source_images_folder_path__'
DATASET_FOLDER = './dataset'

TRAIN_PERCENTAGE = 0.7
COPY_FIXED_NUMBER_TO_COPY = 32

0 comments on commit fe0af2e

Please sign in to comment.