pytorch / vision

Datasets, Transforms and Models specific to Computer Vision
https://pytorch.org/vision
BSD 3-Clause "New" or "Revised" License
16.05k stars 6.93k forks source link

Makefile not found while installing torchvision c++. #4771

Open smeet2804 opened 2 years ago

smeet2804 commented 2 years ago

Not able to run make command after cmake ... It gives **make: * No targets specified and no makefile found. Stop..

The output of cmake .. (2nd time run) was

-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.18363.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Lenovo/Desktop/vision/build

I tried it on Windows 10 through anaconda prompt.

datumbox commented 2 years ago

To build the library from source please follow the instructions listed here. Using Cmake to compile torchvision is not fully supported currently; see #2349.

smeet2804 commented 2 years ago

Hii @datumbox, I need libtorchvsion.so library for one of my DJL project. Will I able to get that after following the above instruction? See deepjavalibrary/djl#818 for reference.

kirillmeisser commented 1 month ago

Hi @smeet2804, I am also trying to add torchvision as a dependency to DJL. Did you manage to solve the issue?