Commit 8b6e06e7 authored by nd-02110114's avatar nd-02110114
Browse files

🐛 fix bug

parent 0d8033ad
Loading
Loading
Loading
Loading
+4 −18
Original line number Diff line number Diff line
@@ -42,24 +42,10 @@ DeepChem currently supports Python 3.5 through 3.7 and requires these packages o

### Soft Requirements

DeepChem has a number of "soft" requirements. These are packages which are needed for various submodules of DeepChem but not for the package as a whole.

- [BioPython](https://biopython.org/wiki/Documentation)
- [OpenAI Gym](https://gym.openai.com/)
- [matminer](https://hackingmaterials.lbl.gov/matminer/)
- [MDTraj](http://mdtraj.org/)
- [NetworkX](https://networkx.github.io/documentation/stable/index.html)
- [OpenMM](http://openmm.org/)
- [PDBFixer](https://github.com/pandegroup/pdbfixer)
- [Pillow](https://pypi.org/project/Pillow/)
- [pyGPGO](https://pygpgo.readthedocs.io/en/latest/)
- [Pymatgen](https://pymatgen.org/)
- [PyTorch](https://pytorch.org/)
- [RDKit](http://www.rdkit.org/docs/Install.html)
- [simdna](https://github.com/kundajelab/simdna)
- [XGBoost](https://xgboost.readthedocs.io/en/latest/)
- [Weights & Biases](https://docs.wandb.com/)
- [Tensorflow Probability](https://www.tensorflow.org/probability)
DeepChem has a number of "soft" requirements.  
If you face `ImportError: No module named XXXX`, you may need to install some packages.

Please check [the documents](https://deepchem.readthedocs.io/en/latest/requirements.html##soft-requirements) about the details of soft requirements.

## Installation

+1 −1
Original line number Diff line number Diff line
@@ -435,7 +435,7 @@ def _cosine_dist(x, y):


class AttnLSTMEmbedding(tf.keras.layers.Layer):
  """Implements AttnLSTM as in matching networks paper [1]_, [2]_.
  """Implements AttnLSTM as in matching networks paper.

  The AttnLSTM embedding adjusts two sets of vectors, the "test" and
  "support" sets. The "support" consists of a set of evidence vectors.
+5 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ DeepChem has a number of "soft" requirements.
|                                |               |                                                   |
|                                |               |                                                   |
+--------------------------------+---------------+---------------------------------------------------+
| `matminer`_                    | 1.77          | :code:`dc.feat.materials_featurizers`             |
| `matminer`_                    | 0.6.3         | :code:`dc.feat.materials_featurizers`             |
|                                |               |                                                   |
|                                |               |                                                   |
+--------------------------------+---------------+---------------------------------------------------+
@@ -74,6 +74,10 @@ DeepChem has a number of "soft" requirements.
|                                |               | (we recommend you to instal)                      |
|                                |               |                                                   |
+--------------------------------+---------------+---------------------------------------------------+
| `simdna`_                      | 0.4.3.2       | :code:`dc.metrics.genomic_metrics`,               |
|                                |               | :code:`dc.molnet.dnasim`                          |
|                                |               |                                                   |
+--------------------------------+---------------+---------------------------------------------------+
| `Tensorflow Probability`_      | 0.10          | :code:`dc.rl`                                     |
|                                |               |                                                   |
|                                |               |                                                   |