I am moving a simple AI project to unity barrcuda and I have successfully completed image recognition.
Next, I have a question because I am having difficulties applying a simpler lstm project to barrcuda.
The onnx model was converted and applied, but I couldn't get the same accuracy as python.
I don't know if this is my mistake or a problem with barrcuda because there are also few example samples for lstm.
I will share from model creation to input method. Any help if I'm doing something wrong is appreciated.
Hello, this is my first time using barrcuda.
I am moving a simple AI project to unity barrcuda and I have successfully completed image recognition. Next, I have a question because I am having difficulties applying a simpler lstm project to barrcuda.
The onnx model was converted and applied, but I couldn't get the same accuracy as python. I don't know if this is my mistake or a problem with barrcuda because there are also few example samples for lstm.
I will share from model creation to input method. Any help if I'm doing something wrong is appreciated.
print(x_valid[0].shape) print(y_valid[0].shape) hist = model.fit(x_train, y_train, batch_size = batch, epochs = epoch, verbose = 1, validation_data=(x_valid, y_valid)) model.evaluate(x_valid, y_valid, verbose = 1)
float[,] jaggedArray = new float [50, 2]{{-0.3925894f, 0.28424934f},
{-0.37861034f, 0.28424934f}, ...... {-0.19908297f, -0.49931842f}, {-0.19908297f, -0.49931842f}};