operation_mapper.ts:125 Uncaught (in promise) Error: Tensorflow Op is not supported: AddV2
at t.mapNode (operation_mapper.ts:125)
at operation_mapper.ts:86
at Array.reduce (<anonymous>)
at t.transformGraph (operation_mapper.ts:85)
at t.<anonymous> (graph_model.ts:125)
at callbacks.ts:17
at Object.next (callbacks.ts:17)
at a (callbacks.ts:17)
Above error comes when your tensorflow version are different in different places.
suppose you download tensorflowjs=1.2.3
and your index.html file contain this code for connecting tensorflowjs model to your browser
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.0/dist/tf.min.js"></script>
then this error comes.
convert this code to
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.2.3/dist/tf.min.js"></script>
and error has been removed.
at t.mapNode (operation_mapper.ts:125)
at operation_mapper.ts:86
at Array.reduce (<anonymous>)
at t.transformGraph (operation_mapper.ts:85)
at t.<anonymous> (graph_model.ts:125)
at callbacks.ts:17
at Object.next (callbacks.ts:17)
at a (callbacks.ts:17)
Above error comes when your tensorflow version are different in different places.
suppose you download tensorflowjs=1.2.3
and your index.html file contain this code for connecting tensorflowjs model to your browser
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.0/dist/tf.min.js"></script>
then this error comes.
convert this code to
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.2.3/dist/tf.min.js"></script>
and error has been removed.
Comments
Post a Comment