summaryrefslogtreecommitdiff
path: root/tools/convert_imageset.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-09-17Separate IO dependenciesTea1-0/+4
OpenCV, LMDB, LevelDB and Snappy are made optional via switches (USE_OPENCV, USE_LMDB, USE_LEVELDB) available for Make and CMake builds. Since Snappy is a LevelDB dependency, its use is determined by USE_LEVELDB. HDF5 is left bundled because it is used for serializing weights and solverstates.
2015-09-01Show output from convert_imageset toolLuke Yeager1-2/+4
2015-02-19Repeal revert of #1878Evan Shelhamer1-12/+18
2015-02-19Revert "Merge pull request #1878 from philkr/encoded"Evan Shelhamer1-18/+12
This reverts the encoding cleanup since it breaks data processing for existing inputs as discussed in #1901.
2015-02-16Cleaning up the encoded flag. Allowing any image (cropped or gray scale) to ↵philkr1-12/+18
be encoded. Allowing for a change in encoded (jpg -> png vice versa) and cleaning up some unused functions.
2015-01-19use db wrappersJonathan L Long1-19/+19
2015-01-15check for enough args to convert_imagesetEvan Shelhamer1-1/+1
(this might better be handled by making all args flags...)
2014-10-15Added encoded option and check_size to convert_imagesetSergio1-5/+20
Conflicts: tools/convert_imageset.cpp
2014-10-14Renamed Database interface to Dataset.Kevin James Matzen1-8/+8
2014-10-14Templated the key and value types for the Database interface. The Database ↵Kevin James Matzen1-7/+4
is now responsible for serialization. Refactored the tests so that they reuse the same code for each value type and backend configuration.
2014-10-14Changed Database::buffer_t to Database::key_type and Database::value_typeKevin James Matzen1-2/+2
2014-10-14Updated Database interface to take key and value by const reference for put ↵Kevin James Matzen1-1/+1
and key by const reference for put. Additional copies are made for get and put in the LMDB implementation.
2014-10-14Updated Database interface so that rather than CHECKing for certain ↵Kevin James Matzen1-4/+4
conditions inside open, put, get, and commit, these functions return a bool indicating whether or not the operation was successful or a failure. This means the caller is now responsible for error checking.
2014-10-14Updated interface to make fewer string copies.Kevin James Matzen1-5/+6
2014-10-14Refactored leveldb and lmdb code.Kevin James Matzen1-74/+7
2014-10-14some namespace cleaning.Yangqing Jia1-8/+7
2014-10-03Add flag check_size=false to convert_imagesetSergio Guadarrama1-7/+12
2014-09-21default backend to lmdb for image conversion and mean computationEvan Shelhamer1-10/+5
lmdb is 10-15% faster than leveldb although it takes ~1.1x the storage. This is usually irrelevant in prefetching since both are fast enough, but more important lmdb allows multiple, concurrent reads for training and evaluation several models on the same data.
2014-08-31minor changes to variable names and error messages + set default backed in ↵Mohamed Omran1-2/+3
convert_mnist_data.cpp to lmdb
2014-08-27Merge pull request #857 from netheril96/gflagsEvan Shelhamer1-34/+36
Use gflags to parse command line arguments for convert_imageset
2014-08-10Use gflags to show help when the arguments not correctnetheril961-1/+1
2014-08-06LICENSE governs the whole project so strip file headersEvan Shelhamer1-1/+0
2014-08-06Reordering of header includes for convert_imageset.cppnetheril961-1/+1
2014-08-06Fix lint errorsnetheril961-5/+7
2014-08-06Handles gflags's change of namespacenetheril961-2/+7
2014-08-06convert_imageset now uses gflags; optional arguments can be positionednetheril961-33/+28
arbitrarily now
2014-08-04Fix and improve multiple places about random number generation andnetheril961-1/+2
shuffling
2014-07-01fix uninitialized variable warnings in toolsJeff Donahue1-1/+1
2014-06-25don't end comments with \, so that -Wcomment can be usedJonathan L Long1-1/+1
2014-06-14fix string compare errorlinmin1-1/+1
2014-06-14add lmdb support for convert_imagesetlinmin1-20/+92
2014-06-08Changed variable name: iscolor to is_color.Jerod Weinman1-3/+3
2014-06-02Added an iscolor flag to io.cpp method ReadImageToDatum to handle grayscale ↵Jerod Weinman1-14/+21
images and a corresponding commandline flag [-g] to convert_imageset.cpp.
2014-05-26convert imageset comment fixupEvan Shelhamer1-2/+2
2014-05-23add convert_imageset option to resize images; use inJeff Donahue1-5/+14
convert_imageset.cpp and document
2014-04-07Back-merge documentation and fixesEvan Shelhamer1-1/+0
format installation docs, add links Add hdf5 requirements to 10.9 notes, drop cmake (not linked) fix im2col height/width bound check bug (issue #284 identified by @kmatzen) strip confusing confusing comment about shuffling files add /etc/rc.local hint for boot configuration of gpus Include k40 images per day benchmark drop caffe presentation in favor of dropbox link make build_docs.sh script work from anywhere proofread, fix dead link, standardize NVIDIA capitalization Added Link in index.md to perfomance_hardware.md Added Performance and Hardware Tips imagenet fix: ilvsrc -> ilsvrc
2014-04-04strip confusing confusing comment about shuffling filesEvan Shelhamer1-1/+0
2014-03-27tools should have nonzero error exit codesJonathan L Long1-1/+1
2014-03-27passing too many args to tool binaries is an errorJonathan L Long1-1/+1
2014-03-27Standardize copyright, add root-level CONTRIBUTORS creditEvan Shelhamer1-1/+1
2014-02-26fix linter errors in examplesJeff Donahue1-10/+13
2014-02-26Make tools/ for core binaries, stow scripts/ in tools/extraEvan Shelhamer1-0/+108
Collect core Caffe tools like train_net, device_query, etc. together in tools/ and include helper scripts under tools/extra.