Caffe didn’t see hdf5.h when compiling

What is the version of your Ubuntu install? Try this. In your Makefile.config try to append /usr/include/hdf5/serial/ to INCLUDE_DIRS: — INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include +++ INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/ and rename hdf5_hl and hdf5 to hdf5_serial_hl and hdf5_serial in the Makefile: — LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5 +++ LIBRARIES … Read more

A guide to convert_imageset.cpp

A quick guide to Caffe’s convert_imageset Build First thing you must do is build caffe and caffe’s tools (convert_imageset is one of these tools). After installing caffe and makeing it make sure you ran make tools as well. Verify that a binary file convert_imageset is created in $CAFFE_ROOT/build/tools. Prepare your data Images: put all images … Read more

Finding gradient of a Caffe conv-filter with regards to input

Caffe net juggles two “streams” of numbers. The first is the data “stream”: images and labels pushed through the net. As these inputs progress through the net they are converted into high-level representation and eventually into class probabilities vectors (in classification tasks). The second “stream” holds the parameters of the different layers, the weights of … Read more

What is `lr_policy` in Caffe?

It is a common practice to decrease the learning rate (lr) as the optimization/learning process progresses. However, it is not clear how exactly the learning rate should be decreased as a function of the iteration number. If you use DIGITS as an interface to Caffe, you will be able to visually see how the different … Read more

What is the definition of a non-trainable parameter?

In keras, non-trainable parameters (as shown in model.summary()) means the number of weights that are not updated during training with backpropagation. There are mainly two types of non-trainable weights: The ones that you have chosen to keep constant when training. This means that keras won’t update these weights during training at all. The ones that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)