ZexinChen / AlphaTracker

AlphaTracker is a computer vision pipeline with the practical and real-time advantages , which requires minimal hardware requirements and produces reliable tracking of multiple unmarked animals. An easy-to-use user interface further enables manual inspection and curation of results.
61 stars 16 forks source link

Unable to install #6

Open SweetStripes74 opened 3 years ago

SweetStripes74 commented 3 years ago

Hello! I'm fairly new to the coding world and am having trouble installing the tools for the alpha tracker unfortunately and would like some help.

After dowloading the repository and changing the directory, I input the code "conda new env -f environment.yaml" I got this as a result:

Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

When doing the follow up command of "conda activate alphatracker" what I get is: Could not find conda environment: alphatracker You can list all discoverable environments with conda info --envs.

not certain what to do here. I did conda update conda and was able to download pytorch successfully so I'm a bit at a loss. Any help would be great!

aneeshbal commented 3 years ago

Hi, thank you for trying AlphaTracker. When you are in the main AlphaTracker directory: AlphaTracker/Tracking/AlphaTracker, instead try running the following command: conda env create -f environment.yml

SweetStripes74 commented 3 years ago

Thank you for the quick reply! Currently that code outputs:

(base) C:\Users\ninsellab2\Desktop\AlphaTracker\Tracking\AlphaTracker>conda env create -f environment.yml Collecting package metadata (repodata.json): failed

UnavailableInvalidChannel: The channel is not accessible or is invalid. channel name: cyclus channel url: https://conda.binstar.org/cyclus error code: 404

You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state, and use conda config --show-sources to view config file locations.

aneeshbal commented 3 years ago

Hi, actually regarding my earlier comment, you should be in the main AlphaTracker directory where the environment.yml file is located.

In regards to the new error you received, could you share the environment.yml file that is currently in your AlphaTracker folder? Also, what OS is your computer using?

Thanks!

SweetStripes74 commented 3 years ago

In my first comment I was under the correct directory of the main alphatracker file and with either code it gave the same error.

I am currently running Windows 10

laurelrr commented 3 years ago

Hello SweetStripes74,

The current version of the AlphaTracker package is optimized for Linux OS system. We are currently working on a version that will run smoothly in Windows environments but it is not yet available.

Does your computer use the Windows for Linux Subsystem (wsl2)? If so and, if you also have a GPU with CUDA libraries, theoretically it should run on your system. However, it has not been fully tested on this platform.

If you would like to explore AlphaTracker in the meantime, we recommend running it in Google Colab. Please view the instructions here: https://github.com/ZexinChen/AlphaTracker/blob/main/Manual/Colab.md

Thanks!

On Sat, Mar 13, 2021, 10:17 AM SweetStripes74 @.***> wrote:

In my first comment I was under the correct directory of the main alphatracker file and with either code it gave the same error.

I am currently running Windows 10

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ZexinChen/AlphaTracker/issues/6#issuecomment-798733109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6EMHJCTPXIFLCQQUICAA3TDOM3VANCNFSM4ZEBOJEA .

SweetStripes74 commented 3 years ago

Ah gotcha. My apologies; I was under the impression if I used Python script in a conda environment it should work under windows as well. We will try the Google Colab then! Thank you for your help :)

laurelrr commented 3 years ago

I think your impression is generally correct with non-GPU python packages. However, the current implementation of AlphaTracker has one module that is written in C (not python). Also, if you do not have wsl set up on a Windows machine, then even if you installed everything and it looked good, the software would not be able to communicate with the GPU and would not function properly.

Thank you for your questions!

On Sat, Mar 13, 2021 at 10:41 AM SweetStripes74 @.***> wrote:

Ah gotcha. My apologies; I was under the impression if I used Python script in a conda environment it should work under windows as well. We will try the Google Colab then! Thank you for your help :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ZexinChen/AlphaTracker/issues/6#issuecomment-798764565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6EMHM5ZIY4O3EKUUJZ2DDTDOPV7ANCNFSM4ZEBOJEA .

--

Follow Your Bliss

"Energy and persistence conquer all things." - Benjamin Franklin