And about the cuda, I believe you are setting up for Cuda 10.0 right? If that's the case I think the steps would be to install VS 2017, then CUDA and then download CUDNN (of compatible version) and copy it to the CUDA folder. also you might need to add cuda dir to system paths after copying cudnn.
For, VS 2017 - tensorflow_gpu-1.15.0 cuDNN=7.4 CUDA=10
CUDA: https://developer.nvidia.com/compute/cuda/10.0/Prod/network_installers/cuda_10.0.130_win10_network
CuDNN: https://developer.nvidia.com/cudnn Download cuDNN v7.6.5 (November 5th, 2019), for CUDA 10.0
Then:
conda create -n iq42mas python=3.6.5
conda install -c anaconda cudatoolkit=10.0
pip install tensorflow-gpu==1.15
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch