{"action":"created","issue":{"url":"https://api.github.com/repos/ECer23/yolov3.pytorch/issues/3","repository_url":"https://api.github.com/repos/ECer23/yolov3.pytorch","labels_url":"https://api.github.com/repos/ECer23/yolov3.pytorch/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ECer23/yolov3.pytorch/issues/3/comments","events_url":"https://api.github.com/repos/ECer23/yolov3.pytorch/issues/3/events","html_url":"https://github.com/ECer23/yolov3.pytorch/issues/3","id":394726407,"node_id":"MDU6SXNzdWUzOTQ3MjY0MDc=","number":3,"title":"Training with COCO - loss is missing","user":{"login":"esrasiler","id":7962312,"node_id":"MDQ6VXNlcjc5NjIzMTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7962312?v=4","gravatar_id":"","url":"https://api.github.com/users/esrasiler","html_url":"https://github.com/esrasiler","followers_url":"https://api.github.com/users/esrasiler/followers","following_url":"https://api.github.com/users/esrasiler/following{/other_user}","gists_url":"https://api.github.com/users/esrasiler/gists{/gist_id}","starred_url":"https://api.github.com/users/esrasiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esrasiler/subscriptions","organizations_url":"https://api.github.com/users/esrasiler/orgs","repos_url":"https://api.github.com/users/esrasiler/repos","events_url":"https://api.github.com/users/esrasiler/events{/privacy}","received_events_url":"https://api.github.com/users/esrasiler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T21:54:01Z","updated_at":"2018-12-29T06:32:57Z","closed_at":null,"author_association":"NONE","body":"When I'm trying train coco dataset, I'm getting error code below:\r\n`Traceback (most recent call last):   File \"train.py\", line 107, in <module>     train(epoch, train_dataloader, yolo, optimizer)   File \"train.py\", line 61, in train     loss = yolo(inputs, targets)   File \"C:\\Users\\username\\Anaconda3\\lib\\site-packages\\torch\\nn\\modules\\module.py\", line 489, in __call__     result = self.forward(*input, **kwargs)   File \"C:\\Users\\username\\Desktop\\username\\yolov3.pytorch-master\\src\\model.py\", line 175, in forward     for key, value in loss_part.items(): Attr`\r\n\r\nWhen I investigate code, at Detection layer, y_true is not used and there is not return for loss.\r\n\r\nIs loss function available?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ECer23/yolov3.pytorch/issues/comments/450469878","html_url":"https://github.com/ECer23/yolov3.pytorch/issues/3#issuecomment-450469878","issue_url":"https://api.github.com/repos/ECer23/yolov3.pytorch/issues/3","id":450469878,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDQ2OTg3OA==","user":{"login":"ECer23","id":14848081,"node_id":"MDQ6VXNlcjE0ODQ4MDgx","avatar_url":"https://avatars1.githubusercontent.com/u/14848081?v=4","gravatar_id":"","url":"https://api.github.com/users/ECer23","html_url":"https://github.com/ECer23","followers_url":"https://api.github.com/users/ECer23/followers","following_url":"https://api.github.com/users/ECer23/following{/other_user}","gists_url":"https://api.github.com/users/ECer23/gists{/gist_id}","starred_url":"https://api.github.com/users/ECer23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ECer23/subscriptions","organizations_url":"https://api.github.com/users/ECer23/orgs","repos_url":"https://api.github.com/users/ECer23/repos","events_url":"https://api.github.com/users/ECer23/events{/privacy}","received_events_url":"https://api.github.com/users/ECer23/received_events","type":"User","site_admin":false},"created_at":"2018-12-29T06:32:57Z","updated_at":"2018-12-29T06:32:57Z","author_association":"OWNER","body":"I'm still modifying the loss function because I can't reproduce the result. So it's possible that some code couldn't run normally.\r\n\r\nYou can checkout to previous commits, in which the training code could run. But it can't make reasonable predictions. \r\n\r\nIf you want to train YOLOv3 on COCO or on your custom datasets, [Alexey/darknet](https://github.com/AlexeyAB/darknet) is recommended. It has clear instructions and can get good results."}}
{"actor":{"display_login":"ECer23"}}