Closed smell-fishy closed 5 years ago
Hi smelly-fishy,
Thanks for reaching out!
Could you try adding -std=c++11
to this line
So it would read
command = g++ -c -fPIC $$in -I$cuda_dir/include -I$torch_dir/include -I$torch_dir/include/torch/csrc/api/include -I. -std=c++11
Please let me know if this works for you.
Best, John
Hi smelly-fishy,
Thanks for reaching out!
Could you try adding
-std=c++11
to this lineSo it would read
command = g++ -c -fPIC $$in -I$cuda_dir/include -I$torch_dir/include -I$torch_dir/include/torch/csrc/api/include -I. -std=c++11
Please let me know if this works for you.
Best, John
Thank you!
I added the command but now it gives:
Hi, I solved the problem.It is the problem about protobuf version. I changed my protobuf from 2.6.1 to 3.9.1 and I installed successfully. But when i tried to convert my model,it gives:
Thanks! This issue is the same as #20
Good to know! Thanks for sharing.
Best, John
Hello, I like this awesome repository and it will be very helpful, but I have some trouble in installing it. When I tried to install: python setup.py install --plugins it gived:
And then i can not convert model with torch.nn.functional.interpolate.