Skip to content

Commit

Permalink
Merge branch 'main' into celia/fix-790-public
Browse files Browse the repository at this point in the history
  • Loading branch information
stes authored Aug 24, 2024
2 parents 2d5b0b5 + 65d10a2 commit d83986c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cebra/data/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def __init__(
continuous: Union[torch.Tensor, npt.NDArray] = None,
discrete: Union[torch.Tensor, npt.NDArray] = None,
offset: int = 1,
device: str = "cpu"
):
super().__init__(device=device)
self.neural = self._to_tensor(neural, check_dtype="float").float()
Expand Down
3 changes: 2 additions & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ we outline different options below.

.. code:: bash
$ conda create -n cebra python==3.8
$ conda create -n cebra python==3.12
$ conda activate cebra
$ conda install -c conda-forge pytables==3.8.0
.. rubric:: Install PyTorch separately

Expand Down

0 comments on commit d83986c

Please sign in to comment.