jdayton3 / Confounded

Removing batch effects & confounding effects from data using deep learning
MIT License
4 stars 1 forks source link

Resolve deprecation warnings #41

Closed jdayton3 closed 6 years ago

jdayton3 commented 6 years ago

When running the autoencoder, we get some deprecation warnings:

$ python -m src.autoencoder
/[home]/miniconda3/envs/py36/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
WARNING:tensorflow:From /[home]/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Use the retry module or similar alternatives.

Let's figure out how to hide or remove those warnings.