{"id":20040841,"url":"https://github.com/vadimkantorov/caffemodel2json","last_synced_at":"2025-11-08T04:03:32.511Z","repository":{"id":36360949,"uuid":"40665745","full_name":"vadimkantorov/caffemodel2json","owner":"vadimkantorov","description":"A small tool to dump Caffe's *.caffemodel to JSON for inspection","archived":false,"fork":false,"pushed_at":"2018-02-12T16:47:13.000Z","size":22,"stargazers_count":41,"open_issues_count":0,"forks_count":24,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T19:47:05.721Z","etag":null,"topics":["caffe","json","protobuf"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vadimkantorov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T15:16:21.000Z","updated_at":"2024-02-26T10:12:13.000Z","dependencies_parsed_at":"2022-09-06T06:20:17.954Z","dependency_job_id":null,"html_url":"https://github.com/vadimkantorov/caffemodel2json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fcaffemodel2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fcaffemodel2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fcaffemodel2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fcaffemodel2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vadimkantorov","download_url":"https://codeload.github.com/vadimkantorov/caffemodel2json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252466733,"owners_count":21752423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caffe","json","protobuf"],"created_at":"2024-11-13T10:44:10.688Z","updated_at":"2025-11-08T04:03:27.465Z","avatar_url":"https://github.com/vadimkantorov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\nA small tool to dump Caffe's \\*.caffemodel and \\*.binaryproto files to JSON for inspection (\\*.prototxt files is not needed). By default [caffe.proto](https://raw.githubusercontent.com/BVLC/caffe/master/src/caffe/proto/caffe.proto) from the official Caffe repository is used. Python and protobuf with Python bindings are dependencies.\n\n# Usage\n```shell\n# to dump model structure without weights (unless `--data` switch is used) to JSON, using default caffe.proto:\n./caffemodel2json.py model.caffemodel \u003e dump.json\n\n# to dump model structure without weights (unless `--data` switch is used) to JSON:\n./caffemodel2json.py model.caffemodel CAFFE_ROOT/src/caffe/proto/caffe.proto \u003e dump.json\n\n# to dump a binaryproto:\nwget http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz\nmkdir -p imagenet_mean \u0026\u0026 tar -xf caffe_ilsvrc12.tar.gz -C imagenet_mean\n./caffemodel2json.py imagenet_mean/imagenet_mean.binaryproto --data \u003e imagenet_mean.json\n```\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadimkantorov%2Fcaffemodel2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvadimkantorov%2Fcaffemodel2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadimkantorov%2Fcaffemodel2json/lists"}