InvalidArgumentError: Got 53 frames, but animated gifs can only be decoded by tf.io.decode_gif or tf.io. opt/conda/lib/python3.7/site-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)ĥ9 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,Ħ1 except core._NotOkStatusException as e: opt/conda/lib/python3.7/site-packages/tensorflow/python/eager/function.py in call(self, ctx, args, cancellation_manager)ĥ98 outputs = execute.execute_with_cancellation( > 1964 ctx, args, cancellation_manager=cancellation_manager))ġ965 forward_backward = self._select_forward_and_backward_functions( > 3040 filtered_flat_args, captured_inputs=graph_function.captured_inputs) # pylint: disable=protected-accessģ042 in _call_flat(self, args, captured_inputs, cancellation_manager)ġ962 # No tape is watching skip to running the function.ġ963 return self._build_call_outputs(self._inference_function.call( opt/conda/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _call_(self, *args, **kwargs)ģ038 filtered_flat_args) = self._maybe_define_function(args, kwargs) > 917 return self._stateless_fn(*args, **kwds) # pylint: disable=not-callableĩ19 # Release the lock early so that multiple threads can perform the call opt/conda/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py in _call(self, *args, **kwds)ĩ15 # In this case we have created variables on the first call, so we run theĩ16 # defunned version which is guaranteed to never create variables. This option will give crispy edges around generated image, but might lead to pixelated result, so please use it at your discretion. If you got GIF with colored border around edges of generated image, you can turning off Edge Smoothing option and try again. transparent GIF files but not animated GIF files. By its design, GIF is quite limited in quality especially with transparency on. > 885 result = self._call(*args, **kwds)Ĩ87 new_tracing_count = self.experimental_get_tracing_count() loading a media asset, the component takes care of loading the asset and. opt/conda/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py in _call_(self, *args, **kwds)Ĩ84 with OptionalXlaContext(self._jit_compile): > 1184 tmp_logs = ain_function(iterator) opt/conda/lib/python3.7/site-packages/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing)ġ183 callbacks.on_train_batch_begin(step) InvalidArgumentError Traceback (most recent call last) In the meantime, here is the full error message:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |