Open benoitparis opened 1 year ago
Might be related to the fact that:
159*159 = 25281 160*160 = 25600
Now, some power of 2 might be suspect, but a power of 2 times 100 is quite intriguing. ¯\_(ツ)_/¯
Following the instructions https://github.com/tensorflow/tfjs/issues/7430 and https://github.com/tensorflow/tfjs/issues/1936, I tried the following:
tf.env().set('WEBGL_USE_SHAPES_UNIFORMS', false);
tf.env().set('WEBGL_PACK', false);
tf.env().set('WEBGL_CONV_IM2COL', false);
And the bug remained
Hi, @benoitparis
Apologize for the delayed response and I tried to replicate the same issue from my end and I'm getting the same result for tf.setBackend('cpu')
and for below 02 lines of code after JAX converted code on WebGL
by using above code with @tensorflow/tfjs@4.10.0
so could you please try from your end once again with @tensorflow/tfjs@4.10.0
let us know, Is it working as expected or not ? Thank you!
If issue persists please let us know or Am I missing something here? Thank you!
const model = await tf.loadGraphModel('/main_ok/model.json'); // Makes it ok
const model = await tf.loadGraphModel('/main_fail/model.json');
I'm getting below output in all 03 cases which you mentioned in above code snippet :
Might be related to https://github.com/tensorflow/tfjs/issues/7430
How to reproduce:
Displayed with Chrome Version 110.0.5481.178 (Build officiel) (64 bits):
Pipfile:
Describe the current behavior
Outputs a black canvas; tensor content is zeroes
Describe the expected behavior
Should output a gradiented canvas, just like it does at size 159. Setting the backend to CPU solves this as well.