Closed rallen10 closed 1 year ago
Have this exact issue, however, I get the following error when I try to run conda activate neural_clbf. What am I missing? Thanks.
EnvironmentNameNotFound: Could not find conda environment: neural_clbf
You can list all discoverable environments with conda info --envs
.
@rallen10 Thanks for raising this issue, and sorry for the delayed response. I think torchmetrics
is pinned at 0.5.1
now (I think I made this change sometime in the last month or so, before I realized people were actually using my code :sweat_smile: )
@djaustin1 I think your issue is that you do not seem to have created a conda environment for neural_clbf
. There are instructions in the README:
conda create --name neural_clbf python=3.9
conda activate neural_clbf
pip install -e .
pip install -r requirements.txt
Does that work for you?
When installing and running
pytest
, all tests fail with the errorSee related problem here with proposed solution to simply downgrade
torchmetrics
tov0.6.0
I recommend pinning
torchmetrics ==0.6.0
in requirements so new users don't run into this problem; at least until a more robust and less rigid solution is implemented.In the mean time new users can resolve by manually installing torchmetrics with