Open maths-qureshi opened 3 years ago
Same problem here on Linux - the default examples don't work.
WARNING:tensorflow:AutoGraph could not transform <function umap_loss.<locals>.loss at 0x7f8fcc547ef0> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: Cell is empty
It seems that some 'umap' dictionary entry is missing
ValueError: No data provided for "umap". Need data for each key in: ['reconstruction', 'umap']
In parametric_umap.py there is a line for the validation data where a 'reconstruction' entry is created, but no 'umap' entry, could this be related?
validation_data = (
(
self.reconstruction_validation,
tf.zeros_like(self.reconstruction_validation),
),
{"reconstruction": self.reconstruction_validation},
)
When running the default script i.e. 03.0-parametric-umap-mnist-embedding-convnet-with-reconstruction.ipynb. I get this error when trying to train i.e. fit_transform. Training only with the encoder works though. Here is the output: WARNING:tensorflow:AutoGraph could not transform <function umap_loss..loss at 0x000002862FEAF620> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, .loss at 0x000002862FEAF620> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux,
export AUTOGRAPH_VERBOSITY=10
) and attach the full output. Cause: Cell is empty WARNING: AutoGraph could not transform <function umap_loss.export AUTOGRAPH_VERBOSITY=10
) and attach the full output. Cause: Cell is emptyKeyError Traceback (most recent call last) c:\programdata\anaconda3\envs\tf2gpu\lib\site-packages\tensorflow_core\python\keras\engine\training_utils.py in standardize_input_data(data, names, shapes, check_batch_axis, exception_prefix) 505 if data[x].class.name == 'DataFrame' else data[x] --> 506 for x in names 507 ]
c:\programdata\anaconda3\envs\tf2gpu\lib\site-packages\tensorflow_core\python\keras\engine\training_utils.py in(.0)
505 if data[x].class.name == 'DataFrame' else data[x]
--> 506 for x in names
507 ]
KeyError: 'umap'
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)