Skip to content

Commit 10f6278

Browse files
committed
organize plugin code files into folders
1 parent 2fad9e8 commit 10f6278

37 files changed

Lines changed: 56 additions & 29 deletions

configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
video_channels=0 # comma-separated list of which colors to use
1919
video_bkg_frames=0 # how many frames to use when computing median background image to subtract
2020
video_findfile_plugin="same-basename" # given a directory and a WAV file, return the corresponding video file
21-
video_read_plugin="video-read-plugin"
21+
video_read_plugin="template"
2222
video_read_plugin_kwargs={}
2323

2424
# URL of the 'server' computer

src/activations

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import json
7070

7171
import importlib
7272

73-
from lib import log_nvidia_smi_output, select_GPUs
73+
from lib import get_srcrepobindirs, add_plugins_to_path, log_nvidia_smi_output, select_GPUs
7474

7575
FLAGS = None
7676

@@ -86,6 +86,9 @@ def main():
8686

8787
select_GPUs(FLAGS.igpu)
8888

89+
srcdir, repodir, bindirs = get_srcrepobindirs()
90+
add_plugins_to_path(srcdir)
91+
8992
sys.path.append(os.path.dirname(FLAGS.model_architecture))
9093
model = importlib.import_module(os.path.basename(FLAGS.model_architecture))
9194

src/convolutional1.py renamed to src/architecture-plugins/convolutional1.py

File renamed without changes.

src/ensemble-concat-dense.py renamed to src/architecture-plugins/ensemble-concat-dense.py

File renamed without changes.

src/ensemble-transfer.py renamed to src/architecture-plugins/ensemble-transfer.py

File renamed without changes.

0 commit comments

Comments
 (0)