Art-generation-with-neural-style-transfer - ERROR only when submitting

Hello everyone, I am getting the error “Cell #5. Can’t compile the student’s code. Error: AssertionError(‘Use the tensorflow function’)” when submitting my assignment for “art-generation-with-neural-style-transfer”.
However when running the notebook locally, I seem to pass the test

J_content = tf.Tensor(7.056877, shape=(), dtype=float32)
All tests passed

Any ideas or anyone else having similar problems? thanks!

Hi @Matteo_Molteni
Based on the pasted error message, somehow it seems you are not using EagerTensor. Please, make sure you are using tf functions.
Keep learning!