noyes

Results 8 comments of noyes

@ionelmc Yes `!` just shell command

That error causes missing new file in CMakelists( fine in Bazel) I thinks this srcs to handle with glob And I still got other linking errors related the Compile spec...

> That error causes missing new file in CMakelists( fine in Bazel) I thinks this srcs to handle with glob > > And I still got other linking errors related...

@vincentqb This is not pytorch problem. It's about call the registry API when using C++ torchvision. And the problem is registry parts not calling when the custom project includes Torchvision...

@vincentqb Basically I just install by cmake and running [hello_world](https://github.com/pytorch/vision/tree/master/examples/cpp/hello_world) And Now I'm trying to 0.6, but 0.5 has same problem 1. I installed following `README.rst` ``` cmake -DCMAKE_PREFIX_PATH="/home/user/torch_build/libtorch150" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON...

@fmassa So the vision lib purposes each user manually register ops in projects not automatically registered by include torch header. thats right? I think I mis-understood that design

@suo Thanks to comments!! I'm trying to like under codes. CMakeLists.txt ``` cmake_minimum_required(VERSION 3.10) project(hello-world) find_package(TorchVision REQUIRED) add_executable(hello-world main.cpp) target_link_libraries(hello-world -Wl,--whole-archive TorchVision::TorchVision ) ``` But this errors occurs ``` [...