Open jerryzh168 opened 6 years ago
For full C++ Caffe2 code working with pytorch/caffe2 1.0 release and the non templated tensors, see https://github.com/jolibrain/deepdetect/tree/master/src/backends/caffe2 and https://github.com/jolibrain/deepdetect/pull/510
Note that this includes pure C++ Detectron inference and included new C++ operators we had to write. We'll PR back to pytorch whenever time allows and if there's interest.
@rilesdg3 that's great! probably talk to author to merge?
we have more API changes coming(e.g. method renaming), not just the template..
Is there a public list of forthcoming changes ?
@beniz I think there will be announcement when the two Tensors are merged.
@jerryzh168 will do, I will keep an eye open for the changes
Hi, @jerryzh168 . Is there any new process about the merge of two tensors?
We're still removing tech debts in our codebase.
@jerryzh168 I know it is a bit irrelevant, just asking for some info and an opinion:
ATen
, Autograd
? Aten
and Autograd
in the background? I assume so, and I've familiarised my self with pytorch, so I'd prefer to have a similar approach when using C++
Many thanks and much appreciate any advice/opinion :-)@alexge233 sorry for the late reply, we have merged TensorImpl
in caffe2 and pytorch, right now caffe2::Tensor
and aten::Tensor
are thin wrappers around TensorImpl
. To answer your question
ATen
I think
Caffe2 C++ API is undergoing changes since we are currently working on merging the caffe2 and pytorch backend. There might be breaking changes, but most of them should be easy to fix. For most updated version of caffe2::Tensor, please refer to: https://github.com/pytorch/pytorch/blob/master/caffe2/core/tensor.h
And we'll merge with pytorch Tensor: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/core/Tensor.h at some point. Please keep an eye on https://github.com/pytorch/pytorch and https://pytorch.org/ for announcements.