Tierpsy / tierpsy-tracker

Multi-Worm Behaviour Tracker. README here:
https://github.com/Tierpsy/tierpsy-tracker/blob/development/README.md
MIT License
21 stars 19 forks source link

Docker installation doesn't work on windows 10 (requires windows 10 pro) #86

Open LadaPechuk opened 2 years ago

LadaPechuk commented 2 years ago

Hi! I'm trying to install the Docker on my PC, which has windows 10, and the installation fails with the note "one prerequisite is not fulfilled: Docker Desktop requires Windows 10 Pro/Enterprise/Home (18363+)." Is it possible to make Docker installation work on windows 10, not pro?

I really appreciate any help you can provide, Lada Pechuk

luigiferiani commented 2 years ago

Hi, it should work on Windows 10 Home (the non pro, non enterprise version): I did successfully install it on my computer that had Windows 10 Home.

That error message just seems to indicate that Docker would like a more up-to-date version of the OS (newer than the version in brackets). If you run Windows Update you should be good to go!

Someone else had a similar problem, see over on stackoverflow.

The installation instructions for Docker on Windows also say Windows 10 Home is ok, provided it's updated enough :)

AFAIK you need windows pro/enterprise if you want to run Windows containers, but Tierpy is a Linux container and as such can be run on Windows 10 Home using Docker with the WSL2 backend.

Let me know if updating fixes the issue!

LadaPechuk commented 2 years ago

Thanks for your response! I had to update windows 10 to a newer version to be able to install the docker.

Now I have a new issue I hope to get help with - I've installed everything and managed to make a parameters file, but when I try to use it for batch processing, it doesn't do anything. The window of the Analysis Progress opens up and gets to 100%, and the two new folders of Results and MaskedVideos are being made, but they are empty. In the blue window, I get the lines:

"OrderedDict([('video_dir_root', '/DATA/local_drive/Lada/tracking/him-5 and AVA masculinized MOS259'), ('mask_dir_root', '/DATA/local_drive/Lada/tracking/him-5 and AVA masculinized MOS259/MaskedVideos'), ('results_dir_root', '/DATA/local_drive/Lada/tracking/him-5 and AVA masculinized MOS259/Results'), ('tmp_dir_root', '/home/tierpsy_user/Tmp'), ('videos_list', ''), ('json_file', '/DATA/local_drive/Lada/tracking/him-5 and AVA masculinized MOS259/Tierpsy_parameters_file_him-5_1DA_herm_0001.json'), ('max_num_process', 7), ('pattern_include', '*.hdf5'), ('pattern_exclude', ''), ('is_copy_video', False), ('copy_unfinished', False), ('analysis_checkpoints', ['COMPRESS', 'TRAJ_CREATE', 'TRAJ_JOIN', 'SKE_INIT', 'BLOB_FEATS', 'SKE_CREATE', 'SKE_FILT', 'SKE_ORIENT', 'INT_PROFILE', 'INT_SKE_ORIENT', 'FEAT_INIT', 'FEAT_TIERPSY']), ('force_start_point', 'COMPRESS'), ('end_point', 'FEAT_TIERPSY'), ('only_summary', False), ('unmet_requirements', False), ('refresh_time', 10.0), ('is_debug', True)])"

When I close the Analysis Progress window, I see the lines: "QThread::start: Thread termination error: No such process QThread::start: Thread termination error: No such process"

My videos are of .avi type.

Have any idea what might be wrong?

Thank you! Lada

luigiferiani commented 2 years ago

Hi, great you got it going! This should be straightforward: in the batch processing windows, make sure to use a 'include pattern' that matches your video types :) reading from the text you posted here (thanks for including that) it was *.hdf5, it should work for your Avi videos if you set it to *.avi.