{"action":"created","issue":{"url":"https://api.github.com/repos/thtrieu/darkflow/issues/666","repository_url":"https://api.github.com/repos/thtrieu/darkflow","labels_url":"https://api.github.com/repos/thtrieu/darkflow/issues/666/labels{/name}","comments_url":"https://api.github.com/repos/thtrieu/darkflow/issues/666/comments","events_url":"https://api.github.com/repos/thtrieu/darkflow/issues/666/events","html_url":"https://github.com/thtrieu/darkflow/issues/666","id":308617198,"number":666,"title":"how should i set defaults.py ,if i want to train tiny-yolo-voc.cfg loading tiny-yolo-voc.weights.","user":{"login":"junxuezheng","id":34545663,"avatar_url":"https://avatars1.githubusercontent.com/u/34545663?v=4","gravatar_id":"","url":"https://api.github.com/users/junxuezheng","html_url":"https://github.com/junxuezheng","followers_url":"https://api.github.com/users/junxuezheng/followers","following_url":"https://api.github.com/users/junxuezheng/following{/other_user}","gists_url":"https://api.github.com/users/junxuezheng/gists{/gist_id}","starred_url":"https://api.github.com/users/junxuezheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junxuezheng/subscriptions","organizations_url":"https://api.github.com/users/junxuezheng/orgs","repos_url":"https://api.github.com/users/junxuezheng/repos","events_url":"https://api.github.com/users/junxuezheng/events{/privacy}","received_events_url":"https://api.github.com/users/junxuezheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-26T15:18:26Z","updated_at":"2018-03-28T07:56:20Z","closed_at":null,"author_association":"NONE","body":"how should i set defaults.py ,if i want to train tiny-yolo-voc.cfg loading tiny-yolo-voc.weights.\r\ndef setDefaults(self):\r\nself.define('imgdir', './sample_img/', 'path to testing directory with images')\r\nself.define('binary', './bin/', 'path to .weights directory')\r\nself.define('config', './cfg/', 'path to .cfg directory')\r\nself.define('dataset', '../pascal/VOCdevkit/IMG/', 'path to dataset directory')\r\nself.define('labels', 'labels.txt', 'path to labels file')\r\nself.define('backup', './ckpt/', 'path to backup folder')\r\nself.define('summary', '', 'path to TensorBoard summaries directory')\r\nself.define('annotation', '../pascal/VOCdevkit/ANN/', 'path to annotation directory')\r\nself.define('threshold', -0.1, 'detection threshold')\r\nself.define('model', '', 'configuration of choice')\r\nself.define('trainer', 'rmsprop', 'training algorithm')\r\nself.define('momentum', 0.0, 'applicable for rmsprop and momentum optimizers')\r\nself.define('verbalise', True, 'say out loud while building graph')\r\nself.define('train', False, 'train the whole net')\r\nself.define('load', '', 'how to initialize the net? Either from .weights or a checkpoint, or even from scratch')\r\nself.define('savepb', False, 'save net and weight to a .pb file')\r\nself.define('gpu', 0.0, 'how much gpu (from 0.0 to 1.0)')\r\nself.define('gpuName', '/gpu:0', 'GPU device name')\r\nself.define('lr', 1e-5, 'learning rate')\r\nself.define('keep',20,'Number of most recent training results to save')\r\nself.define('batch', 16, 'batch size')\r\nself.define('epoch', 1000, 'number of epoch')\r\nself.define('save', 2000, 'save checkpoint every ? training examples')\r\nself.define('demo', '', 'demo on webcam')\r\nself.define('queue', 1, 'process demo in batch')\r\nself.define('json', False, 'Outputs bounding box information in json format.')\r\nself.define('saveVideo', False, 'Records video from input video or camera')\r\nself.define('pbLoad', '', 'path to .pb protobuf file (metaLoad must also be specified)')\r\nself.define('metaLoad', '', 'path to .meta file generated during --savepb that corresponds to .pb file')"},"comment":{"url":"https://api.github.com/repos/thtrieu/darkflow/issues/comments/376795887","html_url":"https://github.com/thtrieu/darkflow/issues/666#issuecomment-376795887","issue_url":"https://api.github.com/repos/thtrieu/darkflow/issues/666","id":376795887,"user":{"login":"sandeeprepakula","id":2655896,"avatar_url":"https://avatars1.githubusercontent.com/u/2655896?v=4","gravatar_id":"","url":"https://api.github.com/users/sandeeprepakula","html_url":"https://github.com/sandeeprepakula","followers_url":"https://api.github.com/users/sandeeprepakula/followers","following_url":"https://api.github.com/users/sandeeprepakula/following{/other_user}","gists_url":"https://api.github.com/users/sandeeprepakula/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeeprepakula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeeprepakula/subscriptions","organizations_url":"https://api.github.com/users/sandeeprepakula/orgs","repos_url":"https://api.github.com/users/sandeeprepakula/repos","events_url":"https://api.github.com/users/sandeeprepakula/events{/privacy}","received_events_url":"https://api.github.com/users/sandeeprepakula/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T07:56:20Z","updated_at":"2018-03-28T07:56:20Z","author_association":"NONE","body":"They are the hyper parameters, purely depends on your data set. Atleast for VOC the values given in the cfg files work better to start with. \r\nYou have to play with all the hyper parameters and see which values would work better for your dataset."}}
{"actor":{"display_login":"sandeeprepakula"}}