π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
release 0.6.9
edgar3a705886f9e1
diff --git a/setup.cfg b/setup.cfgindex 718f31e5e..159c36a1c 100644--- a/setup.cfg+++ b/setup.cfg@@ -1,6 +1,6 @@[metadata]name = kornia-version = 0.6.8+version = 0.6.9description = Open Source Differentiable Computer Vision Library for PyTorchlong_description = file: README.mdlong_description_content_type = text/markdowndiff --git a/setup_dev_env.sh b/setup_dev_env.shindex fa4bcbe55..435e23361 100755--- a/setup_dev_env.sh+++ b/setup_dev_env.sh@@ -36,9 +36,9 @@ fi# define a python version to initialise the conda environment.# by default we assume python 3.8python_version=${PYTHON_VERSION:-"3.8"}-pytorch_version=${PYTORCH_VERSION:-"1.13.0"}+pytorch_version=${PYTORCH_VERSION:-"1.13.1"}pytorch_mode=${PYTORCH_MODE:-""} # use `cpuonly` for CPU or leave it in blank for GPU-cuda_version=${CUDA_VERSION:-"10.2"}+cuda_version=${CUDA_VERSION:-"11.7"}# configure for nightly buildspytorch_channel="pytorch"@@ -47,11 +47,11 @@ if [ "$pytorch_version" == "nightly" ]; thenpytorch_channel="pytorch-nightly"fi-# configure cudatoolkit-cuda_toolkit="cudatoolkit=$cuda_version"-if [ "$pytorch_mode" == "cpuonly" ]-then- cuda_toolkit=""+# configure pytorch cuda version+if [ "$pytorch_mode" == "cpuonly" ]; then+ pytorch_cuda_version="cpuonly"+else+ pytorch_cuda_version="pytorch-cuda=$cuda_version -c nvidia"fi# create an environment with the specific python version@@ -64,7 +64,7 @@ $conda_bin clean -yasource $conda_bin_dir/activate $dev_env_dir/envs/venv# install pytorch and torchvision-conda install pytorch=$pytorch_version $cuda_toolkit $pytorch_mode -c $pytorch_channel+conda install pytorch=$pytorch_version $pytorch_cuda_version -c $pytorch_channel# install testing dependenciespip install -e .[dev,x]