OrsDeepTrainer_5556b11894d611e88c0ec86000a21918¶
Manages the Deep Learning Tool
- author:
Dragonfly Team
- contact:
- email:
- organization:
Comet Technologies Canada Inc.
- address:
460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
- copyright:
Comet Technologies Canada Inc. All rights reserved 2023.
- date:
Jul 31 2018 11:28
- dragonflyVersion:
4.0.0.510 (D)
- UUID:
5556b11894d611e88c0ec86000a21918
Class Code¶
- class OrsPythonPlugins.OrsDeepTrainer_5556b11894d611e88c0ec86000a21918.OrsDeepTrainer_5556b11894d611e88c0ec86000a21918.OrsDeepTrainer_5556b11894d611e88c0ec86000a21918(*args, **kwargs)¶
- cleanup()¶
Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.
- classmethod importAllLoggingClasses()¶
This method is called to make any class extension available for macro playing. It should:
import all class extension;
return a list of classes where logging is supported.
- Returns:
output (list of classes) – list of classes where logging is supported by the current plugin
- openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1, show=True)¶
Instantiates the widget with the provided name. This is done only if it is not already instantiated.
- Parameters:
name (str) – name of the widget to instantiate
dock (str) – docking location in the main window (left, right, top, bottom, center, floating)
tab (str) – name of the tab to dock in
x (int) – position of top left corner of window in x. Use -1 for default value.
y (int) – position of top left corner of window in y. Use -1 for default value.
w (int) – width of window. Use -1 for default value.
l (int) – height of window. Use -1 for default value.
order (int.) – position of widget in docking location. Use -1 to put at the end.
show (bool) – if
True, the form is also shown after being instantiated. If the form already exists, a “raise” is done. IfFalse, no call to show the form is made.
- classmethod startupDefault(openMainForm=True)¶
Creates an instance of the plugin class and opens the main form (if required) at the default position.
- Returns:
output (AbstractPlugin) – plugin instance