Tensorflow error.
Hi. Does anyone know what is this problem and how to correct it? It happens after I train my agent and set the *.bytes on the brain.
ArgumentException: start TensorFlow.TFBuffer..ctor (System.Byte[] buffer, System.Int32 start, System.Int32 count) (at <6ed6db22f8874deba74ffe3e566039be>:0) TensorFlow.TFGraph.Import (System.Byte[] buffer, TensorFlow.TFImportGraphDefOptions options, TensorFlow.TFStatus status) (at <6ed6db22f8874deba74ffe3e566039be>:0) TensorFlow.TFGraph.Import (System.Byte[] buffer, System.String prefix, TensorFlow.TFStatus status) (at <6ed6db22f8874deba74ffe3e566039be>:0) CoreBrainInternal.InitializeCoreBrain () (at Assets/Scripts/MachineLearning/CoreBrainInternal.cs:122) Brain.InitializeBrain () (at Assets/Scripts/MachineLearning/Brain.cs:188) Academy.Awake () (at Assets/Scripts/MachineLearning/Academy.cs:124)
Hi @satansama6,
I have unfortunately not seen this error before. Can you share a little more about the specific environment you trained?
I can't test it atm but could the problem be that the batch size is >= buffer size? I was messing with the values and randomly got the error. When i reduced the batch size the error went away.
batch-size should definitely not be larger than buffer-size. Though, I am not sure why it would give a TensorFlow error.
I don't know what caused it but it is resolved for now. If i get it again I will try to document it better. Thank you.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.