icub-client
Variables
SAM.SAM_Core.trainSAMModel Namespace Reference

Variables

 threshold
 
 nan
 
 precision
 
 dataPath = sys.argv[1]
 
 modelPath = sys.argv[2]
 
 driverName = sys.argv[3]
 
string windowedMode = 'True'
 
string baseLogFileName = 'trainErrorLog_' + driverName
 
int file_i = 0
 
 loggerFName = join(dataPath, baseLogFileName + '_' + str(file_i) + '.log')
 
 logFormatter = logging.Formatter("[%(levelname)s] %(message)s")
 
 rootLogger = logging.getLogger('train ' + driverName)
 
 fileHandler = logging.FileHandler(loggerFName)
 
 consoleHandler = logging.StreamHandler()
 
 root
 
 mm = initialiseModels(sys.argv[1:4], sys.argv[4])
 
int overallPerformance = 100000
 
 overallPerformanceLabels
 
 labelComparisonDict
 
 numParts = len(mm[0].participantList)
 
 economy_save
 
 extraDict
 
def exception_hook (exc_type, exc_value, exc_traceback)
 Generic training function. More...
 

Variable Documentation

◆ baseLogFileName

string SAM.SAM_Core.trainSAMModel.baseLogFileName = 'trainErrorLog_' + driverName

Definition at line 57 of file trainSAMModel.py.

◆ consoleHandler

SAM.SAM_Core.trainSAMModel.consoleHandler = logging.StreamHandler()

Definition at line 79 of file trainSAMModel.py.

◆ dataPath

SAM.SAM_Core.trainSAMModel.dataPath = sys.argv[1]

Definition at line 53 of file trainSAMModel.py.

◆ driverName

SAM.SAM_Core.trainSAMModel.driverName = sys.argv[3]

Definition at line 55 of file trainSAMModel.py.

◆ economy_save

SAM.SAM_Core.trainSAMModel.economy_save

Definition at line 161 of file trainSAMModel.py.

◆ extraDict

SAM.SAM_Core.trainSAMModel.extraDict

Definition at line 161 of file trainSAMModel.py.

◆ file_i

int SAM.SAM_Core.trainSAMModel.file_i = 0

Definition at line 59 of file trainSAMModel.py.

◆ fileHandler

SAM.SAM_Core.trainSAMModel.fileHandler = logging.FileHandler(loggerFName)

Definition at line 75 of file trainSAMModel.py.

◆ labelComparisonDict

SAM.SAM_Core.trainSAMModel.labelComparisonDict

Definition at line 94 of file trainSAMModel.py.

◆ logFormatter

SAM.SAM_Core.trainSAMModel.logFormatter = logging.Formatter("[%(levelname)s] %(message)s")

Definition at line 68 of file trainSAMModel.py.

◆ loggerFName

SAM.SAM_Core.trainSAMModel.loggerFName = join(dataPath, baseLogFileName + '_' + str(file_i) + '.log')

Definition at line 60 of file trainSAMModel.py.

◆ mm

SAM.SAM_Core.trainSAMModel.mm = initialiseModels(sys.argv[1:4], sys.argv[4])

Definition at line 86 of file trainSAMModel.py.

◆ modelPath

SAM.SAM_Core.trainSAMModel.modelPath = sys.argv[2]

Definition at line 54 of file trainSAMModel.py.

◆ nan

SAM.SAM_Core.trainSAMModel.nan

Definition at line 25 of file trainSAMModel.py.

◆ numParts

SAM.SAM_Core.trainSAMModel.numParts = len(mm[0].participantList)

Definition at line 99 of file trainSAMModel.py.

◆ overallPerformance

SAM.SAM_Core.trainSAMModel.overallPerformance = 100000

Definition at line 92 of file trainSAMModel.py.

◆ overallPerformanceLabels

SAM.SAM_Core.trainSAMModel.overallPerformanceLabels

Definition at line 94 of file trainSAMModel.py.

◆ precision

SAM.SAM_Core.trainSAMModel.precision

Definition at line 25 of file trainSAMModel.py.

◆ root

SAM.SAM_Core.trainSAMModel.root

Definition at line 82 of file trainSAMModel.py.

◆ rootLogger

SAM.SAM_Core.trainSAMModel.rootLogger = logging.getLogger('train ' + driverName)

Definition at line 72 of file trainSAMModel.py.

◆ threshold

SAM.SAM_Core.trainSAMModel.threshold

Definition at line 25 of file trainSAMModel.py.

◆ windowedMode

string SAM.SAM_Core.trainSAMModel.windowedMode = 'True'

Definition at line 56 of file trainSAMModel.py.