Browse Source

Add all trained nn files to the project

Development
Tobi 5 years ago
parent
commit
fe630469f4

Assets/Brains/CozmoLearningBrain.nn → Assets/Brains/1_original_trained_brain.nn View File


Assets/Brains/CozmoTrainedBrain.nn.meta → Assets/Brains/1_original_trained_brain.nn.meta View File

fileFormatVersion: 2 fileFormatVersion: 2
guid: c9717311ba788544a9b6db7dd147300d
guid: 7404b992c6519d54c96c3489d921d0c1
ScriptedImporter: ScriptedImporter:
fileIDToRecycleName: fileIDToRecycleName:
11400002: Assets/Brains/CozmoTrainedBrain.nn
11400000: Assets/Brains/1_original_trained_brain.nn
externalObjects: {} externalObjects: {}
userData: userData:
assetBundleName: assetBundleName:

Assets/Brains/CozmoLearningBrain_cozmo_training-0.nn → Assets/Brains/2_modified_turnspeed_actionmask_brain.nn View File


+ 10
- 0
Assets/Brains/2_modified_turnspeed_actionmask_brain.nn.meta View File

fileFormatVersion: 2
guid: 95b359f17fe8fba4f8564c236b378d66
ScriptedImporter:
fileIDToRecycleName:
11400000: Assets/Brains/2_modified_turnspeed_actionmask_brain.nn
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 83221ad3db87f4b3b91b041047cb2bc5, type: 3}

BIN
Assets/Brains/3_modified_actionmask_memory_3_brain.nn View File


Assets/Brains/CozmoLearningBrain.nn.meta → Assets/Brains/3_modified_actionmask_memory_3_brain.nn.meta View File

fileFormatVersion: 2 fileFormatVersion: 2
guid: 24baaa8c605c1a74785880885cf04847
guid: af2054fbe8d1d9244a9dc1f5e1af9e47
ScriptedImporter: ScriptedImporter:
fileIDToRecycleName: fileIDToRecycleName:
11400000: Assets/Brains/CozmoLearningBrain.nn
11400000: Assets/Brains/3_modified_actionmask_memory_3_brain.nn
externalObjects: {} externalObjects: {}
userData: userData:
assetBundleName: assetBundleName:

BIN
Assets/Brains/4_modified_actionmask_memory_5_brain.nn View File


Assets/Brains/CozmoLearningBrain_cozmo_training-0.nn.meta → Assets/Brains/4_modified_actionmask_memory_5_brain.nn.meta View File

fileFormatVersion: 2 fileFormatVersion: 2
guid: 7f8f0f4568060e84bb933886fd122e7e
guid: bedf7a4d1127eb74bbf17c848a8f5ad8
ScriptedImporter: ScriptedImporter:
fileIDToRecycleName: fileIDToRecycleName:
11400000: Assets/Brains/CozmoLearningBrain_cozmo_training-0.nn
11400000: Assets/Brains/4_modified_actionmask_memory_5_brain.nn
externalObjects: {} externalObjects: {}
userData: userData:
assetBundleName: assetBundleName:

+ 1
- 1
Assets/Brains/CozmoLearningBrain.asset View File

vectorActionDescriptions: vectorActionDescriptions:
- -
vectorActionSpaceType: 0 vectorActionSpaceType: 0
model: {fileID: 11400000, guid: 7f8f0f4568060e84bb933886fd122e7e, type: 3}
model: {fileID: 11400000, guid: 7404b992c6519d54c96c3489d921d0c1, type: 3}
inferenceDevice: 0 inferenceDevice: 0

BIN
Assets/Brains/CozmoTrainedBrain.nn View File


+ 0
- 3
Assets/Scenes/CozmoTraining.unity View File

- {fileID: 774534267} - {fileID: 774534267}
- {fileID: 380448016} - {fileID: 380448016}
- {fileID: 1159195260} - {fileID: 1159195260}
- {fileID: 0}
- {fileID: 0}
--- !u!4 &776834971 --- !u!4 &776834971
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
- {fileID: 11400000, guid: 0d9d5ce547064a648b466ad7f208cf3d, type: 2} - {fileID: 11400000, guid: 0d9d5ce547064a648b466ad7f208cf3d, type: 2}
_brainsToControl: _brainsToControl:
- {fileID: 0} - {fileID: 0}
- {fileID: 11400000, guid: 0d9d5ce547064a648b466ad7f208cf3d, type: 2}
maxSteps: 1500 maxSteps: 1500
trainingConfiguration: trainingConfiguration:
width: 80 width: 80

+ 1
- 1
Assets/Scripts/ML Cozmo/CozmoAgent.cs View File

public override void AgentAction(float[] vectorAction, string textAction) public override void AgentAction(float[] vectorAction, string textAction)
{ {
double elapsedTime = Time.time - startTime; double elapsedTime = Time.time - startTime;
print("Elapsed time: " + elapsedTime);
//Debug.Log("Elapsed time: " + elapsedTime);
startTime = Time.time; startTime = Time.time;


int action = Mathf.FloorToInt(vectorAction[0]); int action = Mathf.FloorToInt(vectorAction[0]);

Loading…
Cancel
Save