summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)AuthorFilesLines
2015-09-29Fix a typoYang Song1-1/+1
Fix a typo in the message.
2015-09-17Separate IO dependenciesTea1-0/+1
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-15removed bug in caffe.io.resize_image when applied to Nd imagesMohamed Omran1-1/+1
2015-09-04Merge pull request #3024 from danielgordon10/python-solver-fixEvan Shelhamer3-2/+12
[pycaffe] expose all solvers for direct instantiation (although note get_solver)
2015-09-04enabling the alternate solvers to be accessed by the python interfaceDaniel Gordon3-2/+12
2015-09-03NetSpec: don't require lists to specify single-element repeated fieldsJeff Donahue2-4/+9
2015-09-01Cleanup: Fixup capitalisation of Caffe_POSTFIX.Darren Garvey1-1/+1
Replaces CAffe_POSTFIX -> Caffe_POSTFIX.
2015-08-26Merge pull request #2944 from philkr/python_layer_paramJon Long2-1/+71
Give the python layer parameter/weight blobs.
2015-08-26Draw Deconvolution layers like Convolution layersJonas Maaskola1-3/+3
2015-08-25Python parameter test addedphilkr2-2/+60
2015-08-25Allow the python layer have weight/parameter blobs.philkr1-2/+14
2015-08-20Merge pull request #2930 from lukeyeager/pycaffe-layer_type_listJeff Donahue3-1/+13
Expose LayerFactory::LayerTypeList in pycaffe
2015-08-20Expose LayerFactory::LayerTypeList in pycaffeLuke Yeager3-1/+13
Useful for validating NetParameters without crashing on SIGABRT
2015-08-14Exposing blob loss weight to pythonphilkr2-0/+14
2015-08-10Update net_spec.pyRussell Stewart1-1/+1
2015-08-07Merge pull request #2813 from longjon/net-spec-impEvan Shelhamer2-13/+38
Python net spec cleanups and top-less layers
2015-08-07Merge pull request #2877 from jeffdonahue/pycaffe-shape-accessorJon Long1-0/+5
[pycaffe] add Blob shape accessor
2015-08-07pycaffe: add shape accessorJeff Donahue1-0/+5
2015-08-06PythonLayer takes parameters by stringTakuya Narihira1-0/+59
2015-08-06[pytest] open exception file with mode for python3Evan Shelhamer1-1/+1
2015-08-06Merge pull request #2462 from longjon/correct-python-exceptionsEvan Shelhamer1-0/+22
Handle Python layer exceptions correctly
2015-07-23[pytest] simple test of top-less layersJonathan L Long1-0/+15
2015-07-23[pycaffe] net spec layers can have ntop=0Jonathan L Long1-1/+3
In this case, the Function is returned instead of a Top, which can be assigned a name if desired. Thanks @philkr for an earlier implementation of this.
2015-07-23[pycaffe] allow layers to have names different from their first topsJonathan L Long1-3/+11
Previously, net spec only allowed names to be assigned to Tops, giving layers the names of their first tops. Now, names can be assigned to Functions, which become layer names in serialization. Unnamed Functions still get named after their first top, if present, or autogenerated, if not. (This will allow top-less layers in a natural way.)
2015-07-23[pycaffe] add Top._to_proto convenience functionJonathan L Long1-2/+5
This makes it possible to serialize Functions or Tops with a uniform interface.
2015-07-23[pycaffe] use a Counter instead of a dict for counting net spec namesJonathan L Long1-5/+4
2015-07-23[pycaffe] remove dead codeJonathan L Long1-2/+0
2015-07-20Travis scripts for python3 and pytest for cmake. Also fixes CUDA CMake build ↵philkr4-9/+12
issue #2722.
2015-07-08Making the net_spec python3 compatiblephilkr2-5/+7
2015-06-30[pytest] minimal testing of net specificationJonathan L Long1-0/+67
2015-06-30[pycaffe] basic net specificationJonathan L Long2-0/+204
2015-06-09Small platform-specific bugfix for draw.pyLuke Yeager1-1/+1
Close #2376 On Gentoo and CentOS (and others?), you get this error: Warning: /tmp/tmpjqPQBC:6: string ran past end of line
2015-05-30Merge pull request #2522 from MartinThoma/mooseEvan Shelhamer2-67/+109
[pycaffe] groom caffe.draw and draw_net.py
2015-05-27python/draw_net.py and python/caffe/draw.py: Simplified code; added more ↵Martin Thoma2-67/+109
docstrings; adjusted code according to PEP8
2015-05-21Update python/requirements.txt to have ipython>=3.0.0Sebastián Ramírez1-1/+1
2015-05-15Python: Formatted docstrings to numpydoc (Take, Give -> Parameters, Returns)Martin Thoma3-64/+86
2015-05-14[pytest] check that Python receives (correct) exceptions from Python layersJonathan L Long1-0/+22
2015-05-11Merge pull request #2441 from gustavla/py3-fixJon Long1-1/+1
Fixed wrong io import in Python 3
2015-05-11python: PEP8; changed docstring documentation style to NumPyDoc styleMartin Thoma8-83/+103
2015-05-11This imports the wrong io module in Python 3.Gustav Larsson1-1/+1
The Python standard lib has a module called io, so instead of Python 3 throwing an error, it imports the wrong module without complaining.
2015-03-27Merge pull request #2192 from lukeyeager/remove-scikit-learnEvan Shelhamer1-1/+0
Remove scikit-learn dependency -- the need is noted in the relevant example
2015-03-25Downgrade Pillow pip requirementLuke Yeager1-1/+1
2.7.0 isn't really necessary - 2.3.0 is sufficient. This is the version available on Ubuntu 14.04 via apt-get, and seems to be a reasonable lowest common denominator in general. http://pillow.readthedocs.org/installation.html#old-versions
2015-03-24Remove scikit-learn dependencyLuke Yeager1-1/+0
2015-03-16Fix invalid syntaxKenta Shoji1-1/+1
2015-03-08[pycaffe] classifier + detector only have one inputEvan Shelhamer2-2/+2
2015-03-08[pycaffe] fix CPU / GPU switch in example scriptsEvan Shelhamer3-12/+17
2015-03-08[pycaffe] make classify.py print input + output file pathsariandyy2-2/+8
...and fix up detector quote convention.
2015-03-08[pycaffe] no need to squeeze output after #1970Evan Shelhamer1-1/+1
fix #2041 reported by @dgmp88
2015-03-06Merge pull request #2010 from danielhamngren/update_python_requirementsEvan Shelhamer1-0/+1
[pycaffe] Add Pillow to requirements.txt
2015-03-06Merge pull request #2037 from shelhamer/expose-solver-restoreEvan Shelhamer1-1/+2
Expose Solver::Restore() as public for restoring without solving