You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method loads a TorchScript pre-trained model that was created using https://github.com/redis-developer/redisai-iris
[ERROR] testRunTorchScriptModel Time elapsed: 0.081 s <<< ERROR!
java.lang.ClassCastException: java.lang.Long incompatible with [B
at com.redislabs.ai.RunModelsTest.testRunTorchScriptModel(RunModelsTest.java:63)
Version
Reproducer Project
Project containing a test to replicate the issue:
[https://github.com/bsbodden/redisai-torch-test](https://github.com/bsbodden/redisai-torch-test)
Issue/Exception with retrieving output tensors
The test class
RunModelsTest
has two test methods:🟢
testRunTensorFlowModel
: original method from JRedisAI test suite - PASS🔴
testRunTorchScriptModel
: the method in question - FAILUsing RedisAI docker image edge
docker run -p 6379:6379 --name redisai redislabs/redisai:edge-cpu
Module List
Docker Image info
Run with
./mvnw clean verify
The method loads a TorchScript pre-trained model that was created using
https://github.com/redis-developer/redisai-iris
The error happens on this line:
The text was updated successfully, but these errors were encountered: