aharley / segaware Goto Github PK
View Code? Open in Web Editor NEWSegmentation-Aware Convolutional Networks Using Local Attention Masks
Segmentation-Aware Convolutional Networks Using Local Attention Masks
I am trying to train VGG16 with my own data. I have cropped the images to 224x224. When I train with VGG16 as provided by Caffe model zoo (https://gist.github.com/ksimonyan/211839e770f7b538e2d8) I can train with batch size 32. After replacing all convolution layers with im2col followed by a convolution layer with bottom_is_im2col I can train with maximum batch size 8 without "Out of memory" error.
First of all, I wonder if this is normal behavior given that typical convolution layers use im2col internally.
Secondly, is there a way to reduce memory needs?
Thanks in advance,
I have found that the code only contains the part for test and no code for training. Is the embedding network trained separately from deeplab network?
Hi,
I built the caffe from this repo and i am getting an error that
Error parsing text-format caffe.NetParameter: 62:15: Message type "caffe.LayerParameter" has no field named "deletebottom".
What might be the issue?
Regards, Vijay
I am currently running ./test_res.sh on a 11GB of GPU memory,gtx1080ti. But when I run the script, it immediately throws out an error:
I0911 12:46:39.811416 18216 caffe.cpp:252] Running for 1449 iterations.
F0911 12:46:40.284883 18216 syncedmem.cpp:56] Check failed: error == cudaSuccess (2 vs. 0) out of memory
and since you are already at batch size = 1 ,I don't know how much real memory , or What should I do?
*** Check failure stack trace: ***
@ 0x7fa08bf23daa (unknown)
@ 0x7fa08bf23ce4 (unknown)
@ 0x7fa08bf236e6 (unknown)
@ 0x7fa08bf26687 (unknown)
@ 0x7fa08c5791e1 caffe::SyncedMemory::~SyncedMemory()
@ 0x7fa08c5c6fb2 boost::detail::sp_counted_impl_p<>::dispose()
@ 0x40a52e boost::detail::sp_counted_base::release()
@ 0x7fa08c5df1e5 caffe::Blob<>::~Blob()
@ 0x7fa08aa8753a (unknown)
@ 0x7fa08c50ac43 (unknown)
Aborted (core dumped)
I met this issue each time at the end of training or testing. Any idea?
Could you please tell me what "TwoImageData" layer is used for, I can't find the code.
Thanks!
When build caffe, this error occurs
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/syncedmem.cpp
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
from ./include/caffe/common.hpp:19,
from src/caffe/syncedmem.cpp:1:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
pad_h, pad_w, stride_h, stride_w));
^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
cudnnStatus_t status = condition; \
^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from src/caffe/syncedmem.cpp:1:
/usr/local/cuda/include/cudnn.h:799:27: note: declared here
cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
It seems to relate with the compatibility of cudnn. Official caffe could be built on my computer, would you please update and solve this problem?
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.