inisis / caffe Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
complete error log below
NVCC src/caffe/layers/proposal_layer.cu
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’:
src/caffe/layers/proposal_layer.cu:240:185: required from here
src/caffe/layers/proposal_layer.cu:240:185: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/proposal_layer.cu:240:188: required from here
src/caffe/layers/proposal_layer.cu:240:188: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’:
src/caffe/layers/proposal_layer.cu:240:185: required from here
src/caffe/layers/proposal_layer.cu:240:185: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/proposal_layer.cu:240:188: required from here
src/caffe/layers/proposal_layer.cu:240:188: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’:
src/caffe/layers/proposal_layer.cu:240:185: required from here
src/caffe/layers/proposal_layer.cu:240:185: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/proposal_layer.cu:240:188: required from here
src/caffe/layers/proposal_layer.cu:240:188: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’:
src/caffe/layers/proposal_layer.cu:240:185: required from here
src/caffe/layers/proposal_layer.cu:240:185: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/proposal_layer.cu:240:188: required from here
src/caffe/layers/proposal_layer.cu:240:188: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’:
src/caffe/layers/proposal_layer.cu:240:185: required from here
src/caffe/layers/proposal_layer.cu:240:185: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = float]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
src/caffe/layers/proposal_layer.cu: In instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/proposal_layer.cu:240:188: required from here
src/caffe/layers/proposal_layer.cu:240:188: error: explicit instantiation of ‘void caffe::ProposalLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&) [with Dtype = double]’ but no definition available [-fpermissive]
INSTANTIATE_LAYER_GPU_FUNCS(ProposalLayer);
^
Makefile:588: recipe for target '.build_release/cuda/src/caffe/layers/proposal_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/proposal_layer.o] Error 1
Traceback (most recent call last):
File "/media/3255035b-77ce-41e8-8665-808657363219/deep-learning/predict_floder.py", line 146, in
main()
File "/media/3255035b-77ce-41e8-8665-808657363219/deep-learning/predict_floder.py", line 102, in main
pytorch_parser = PytorchCaffeParser(model,x.to(device))
File "/home/miniconda3/envs/py39/lib/python3.9/site-packages/brocolli/converter/pytorch_caffe_parser.py", line 45, in init
self.pytorch_graph = PytorchGraph(self.model, self.inputs, self.concrete_args)
File "/home/miniconda3/envs/py39/lib/python3.9/site-packages/brocolli/converter/pytorch_graph.py", line 102, in init
self.shape_inference()
File "/home/miniconda3/envs/py39/lib/python3.9/site-packages/brocolli/converter/pytorch_graph.py", line 171, in shape_inference
shape_runner.run(*self.inputs)
File "/home/miniconda3/envs/py39/lib/python3.9/site-packages/torch/fx/interpreter.py", line 136, in run
self.env[node] = self.run_node(node)
File "/home/miniconda3/envs/py39/lib/python3.9/site-packages/brocolli/converter/pytorch_graph.py", line 49, in run_node
result = super().run_node(n)
File "/home/miniconda3/envs/py39/lib/python3.9/site-packages/torch/fx/interpreter.py", line 177, in run_node
return getattr(self, n.op)(n.target, args, kwargs)
File "/home/miniconda3/envs/py39/lib/python3.9/site-packages/torch/fx/interpreter.py", line 249, in call_function
return target(*args, **kwargs)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
While executing %mul_22 : [#users=1] = call_function[target=operator.mul](args = (%truediv_4, %norm_weight), kwargs = {})
Original traceback:
None
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.