You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oid_parser.add_argument('main_dir', help='Path to dataset directory.')
263
-
oid_parser.add_argument('--version', help='The current dataset version is V3.', default='2017_11')
264
-
oid_parser.add_argument('--labels_filter', help='A list of labels to filter.', type=csv_list, default=None)
235
+
oid_parser.add_argument('--version', help='The current dataset version is V3.', default='2017_11')
236
+
oid_parser.add_argument('--labels_filter', help='A list of labels to filter.', type=csv_list, default=None)
265
237
oid_parser.add_argument('--annotation_cache_dir', help='Path to store annotation cache.', default='.')
266
238
267
-
csv_parser=subparsers.add_parser('csv')
268
-
csv_parser.add_argument('annotations', help='Path to CSV file containing annotations for training.')
269
-
csv_parser.add_argument('classes', help='Path to a CSV file containing class label mapping.')
270
-
csv_parser.add_argument('--val-annotations', help='Path to CSV file containing annotations for validation (optional).')
271
-
272
239
group=parser.add_mutually_exclusive_group()
273
240
group.add_argument('--snapshot', help='Resume training from a snapshot.')
274
241
group.add_argument('--imagenet-weights', help='Initialize the model with pretrained imagenet weights. This is the default behaviour.', action='store_const', const=True, default=True)
@@ -287,8 +254,37 @@ def csv_list(string):
287
254
288
255
returncheck_args(parser.parse_args(args))
289
256
257
+
defload_plugins(plugin_path):
258
+
"""
259
+
Responsible for initialising the plugin manager, setting the plugin directory to search, and loading all available
260
+
plugins - then activating them.
261
+
262
+
:param plugin_path: String/[Str] for plugin paths to check
0 commit comments