Hi,
I am getting following error on running swarm:
Generating experiment files in directory: /tmp/tmpQyrcyS...
Writing 313 lines...
Writing 114 lines...
done.
None
Traceback (most recent call last):
File "./swarm.py", line 109, in <module>
swarm(INPUT_FILE)
File "./swarm.py", line 101, in swarm
modelParams = swarmForBestModelParams(SWARM_DESCRIPTION, name)
File "./swarm.py", line 78, in swarmForBestModelParams
verbosity=0
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/swarming/permutations_runner.py", line 277, in runWithConfig
return _runAction(runOptions)
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/swarming/permutations_runner.py", line 218, in _runAction
returnValue = _runHyperSearch(runOptions)
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/swarming/permutations_runner.py", line 161, in _runHyperSearch
metricsKeys=search.getDiscoveredMetricsKeys())
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/swarming/permutations_runner.py", line 825, in generateReport
raise Exception(jobInfo.workerCompletionMsg)
Exception: E10002: Exiting due to receiving too many models failing from exceptions (6 out of 6).
Model Exception: Exception occurred while running model 1152: AssertionError() (<type 'exceptions.AssertionError'>)
Traceback (most recent call last):
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/swarming/hypersearch/utils.py", line 435, in runModelGivenBaseAndParams
(completionReason, completionMsg) = runner.run()
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/swarming/ModelRunner.py", line 236, in run
maxTimeout=readTimeout)
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/data/stream_reader.py", line 201, in __init__
bookmark, firstRecordIdx)
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/data/stream_reader.py", line 297, in _openStream
firstRecord=firstRecordIdx)
File "/home/komalydedhia/.local/lib/python2.7/site-packages/nupic-0.5.3.dev0-py2.7.egg/nupic/data/file_record_stream.py", line 234, in __init__
FieldMetaType.integer)
AssertionError
Following is my swarm_description
SWARM_DESCRIPTION = {
"includedFields": [
{
"fieldName": "startTime",
"fieldType": "datetime"
},
{
"fieldName": "flag",
"fieldType": "string"
},
{
"fieldName": "packets",
"fieldType": "int",
"maxValue": 20000,
"minValue": 1
},
{
"fieldName": "bytes",
"fieldType": "int",
"maxValue": 300000000,
"minValue": 40
},
{
"fieldName": "duration",
"fieldType": "float",
"maxValue": 55.0,
"minValue": 0.0
}
],
"streamDef": {
"info": "sample_ddos",
"version": 1,
"streams": [
{
"info": "Rec Center",
"source": "file://3.csv",
"columns": [
"*"
]
}
]
},
"inferenceType": "TemporalMultiStep",
"inferenceArgs": {
"predictionSteps": [
1
],
"predictedField": "duration"
},
"iterationCount": 1,
"swarmSize": "small"
}
My Data set:
type,sIP,dIP,sPort,dPort,startTime,endTime,flag,packets,bytes,duration
string,string,string,string,string,datetime,datetime,string,int,int,float
,,,,,T,T,C,,,
0,0.0.0.0,0.0.0.0,1234,5678,2009-01-15 13:01:12.615,2009-01-15 13:01:36.767,PA,2,777,24.152
Note : My swarm.py is same used in oneHotGym example. I have just modified my input data file name.
Any help is appreciated.
Thanks and regards,
Komal.