-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression: model execution failure #6945
Labels
type:bug
Something isn't working
Comments
@rthadur @ahmedsabie @pyu10055 any updates? |
@vladmandic Do you have a model where the issue occurs? |
@ahmedsabie here you go: const tf = require('@tensorflow/tfjs-node'); // same issue using standard tfjs with wasm backend
async function main() {
const model = await tf.loadGraphModel('https://vladmandic.github.io/human-models/models/mobilefacenet.json');
const input = tf.randomUniform([1, model.inputs[0].shape[1], model.inputs[0].shape[2], 3], 0, 1, 'float32');
const output = model.execute(input); // exception: TypeError: Cannot read properties of undefined (reading 'img_inputs')
}
main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PR #6904 Add resource initializer support
causes execution failure for some models that used to previously work without issues.
Issue is in https://github.com/tensorflow/tfjs/blame/master/tfjs-converter/src/executor/graph_model.ts#L361
Error:
cc @pyu10055 @ahmedsabie
The text was updated successfully, but these errors were encountered: