theislab / scCODA

A Bayesian model for compositional single-cell data analysis
BSD 3-Clause "New" or "Revised" License
141 stars 23 forks source link

WARNING:tensorflow:@custom_gradient grad_fn has 'variables' in signature, but no ResourceVariables were used on the forward pass. #56

Closed auesro closed 2 years ago

auesro commented 2 years ago

Dear scCODA team,

Thanks a lot for this package, its turning out very useful for my snRNAseq analysis!

I am finding the same error mentioned in this other issue #40 however I have the versions required by the scCODA package installed for tensorflow and tensorflow-probability:

In [3]: import tensorflow

In [4]: tensorflow.__version__
Out[4]: '2.8.0'
In [6]: import tensorflow_probability

In [7]: tensorflow_probability.__version__
Out[7]: '0.16.0'

Any ideas whats going on or if it has any negative effect on the results?

Thanks!

johannesostner commented 2 years ago

Hi @auesro, thanks for using scCODA!

I am aware of this warning appearing when running scCODA also in later tensorflow versions, but it does not influence the results. It can be ignored.

auesro commented 2 years ago

Hi @johannesostner thanks for the clarification!