Polygonization-by-Frame-Field-Learning icon indicating copy to clipboard operation
Polygonization-by-Frame-Field-Learning copied to clipboard

create virtual environment by using the environment.yml on windows 10

Open XiaoyuSun-hub opened this issue 4 years ago • 3 comments

Hi, I have just tried to install environment by enviroment.yml you provided, there is an error: image Could you please check that? thank you !

XiaoyuSun-hub avatar Nov 30 '20 19:11 XiaoyuSun-hub

Hi, I think it does not work because I exported that enviroment.yml from Linux and it is not compatible with other platforms. You can have a look at the Dockerfile to see what to install. The main thing is to install pytorch 1.4 first and go from there.

Lydorn avatar Dec 01 '20 13:12 Lydorn

@Lydorn , thank you for your reply, After I install packages in Dockerfile, Do I need to run setup.py, or install packages in setup.sh?

XiaoyuSun-hub avatar Dec 01 '20 13:12 XiaoyuSun-hub

@XiaoyuSun-hub To make it easier, the following packages are required to make it run in windows (or any environment) with anaconda. you can put it on loop and install or just run them all through anaconda powershell. conda install pyproj conda install libgdal conda install gdal conda install overpy conda install shapely conda install jsmin conda install tqdmy conda install scikit-learn conda install multiprocess pip install git+https://github.com/Lydorn/kornia@7bcb52125917eedee867ec93ed56c289019bd7d2 conda config --add channels conda-forge conda config --set channel_priority false conda install rasterio conda install scikit-image conda install geojson conda install tensorboard conda install fiona // visual studio build tool required required// pip install -U --no-cache-dir cython pip install --no-cache-dir "git+https://github.com/cocodataset/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI" conda install tifffile pip install Pillow

conda install future conda install descartes conda install -c conda-forge opencv=4.5.0 conda install -c conda-forge skan

1.7.0 with cuda // conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=11.0 -c pytorch

pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" .

conda install numba=0.48.0

pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cu110.html //change version with matching to your anaconda version.

ashokdahal avatar Apr 21 '21 15:04 ashokdahal