Closed Idavr closed 5 months ago
@Idavr This most likely means the cluster you're using restricts downloads. The tests will automatically download test data and probes if they are not present in the expected directory. You will either need to get around that restriction somehow (you would have to ask whoever manages the cluster about that), or you can manually place the necessary files there before running the tests.
You can get the exact directory for your remote machine by running this code snippet:
from kilosort.utils import DOWNLOADS_DIR
print(DOWNLOADS_DIR)
You can also modify where that directory goes by changing the KILOSORT_LOCAL_DOWNLOADS_PATH
environment variable.
Probably the simplest thing to do would be to run the tests on a local machine that doesn't have download restrictions, then copy the downloaded files and folders to that directory on the remote machine. The directory should end up looking like:
@jacobpennington I tried the same thing on a local computer but with the same results. This is however on a university-network so that might be it... Is there anywhere to manually download these particular test data files so I can move them to the appropriate folders like you suggested?
Here are the URLs. Note you will need to unzip the data and results. I updated my previous comment to show where to put the results, I forgot to include them earlier.
Probes: https://www.kilosort.org/downloads/neuropixPhase3A_kilosortChanMap.mat https://www.kilosort.org/downloads/neuropixPhase3B1_kilosortChanMap.mat https://www.kilosort.org/downloads/neuropixPhase3B2_kilosortChanMap.mat https://www.kilosort.org/downloads/NP2_kilosortChanMap.mat https://www.kilosort.org/downloads/Linear16x1_kilosortChanMap.mat
Data: https://www.kilosort.org/downloads/ZFM-02370_mini.imec0.ap.short.zip
Results: https://www.kilosort.org/downloads/pytest_gpu.zip https://www.kilosort.org/downloads/pytest.zip
Describe the issue:
Hello!
I am trying to get KS4 working with the minimal installation as I only am going to use the terminal commands for Kilosorting - with the intention of trying to get it to run on a remote cluster. I have followed all the installation instructions but when I try to run
pytest --run slow
I end up with a lot of urllib.error.HTTPError: HTTP Error 403: Forbidden messages. The entire terminal for this is pasted in below:OS: Ubuntu 22.04.4 LTS, 64-bit Python: 3.9.19 NVIDIA Corporation: GA 104GL [RTX A4000], driver metapackage from driver-535 Cuda 11.5
I hope you have any insight into this to help me get KS4 working through the terminal.