{"action":"opened","issue":{"url":"https://api.github.com/repos/zhanghang1989/PyTorch-Encoding/issues/98","repository_url":"https://api.github.com/repos/zhanghang1989/PyTorch-Encoding","labels_url":"https://api.github.com/repos/zhanghang1989/PyTorch-Encoding/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/zhanghang1989/PyTorch-Encoding/issues/98/comments","events_url":"https://api.github.com/repos/zhanghang1989/PyTorch-Encoding/issues/98/events","html_url":"https://github.com/zhanghang1989/PyTorch-Encoding/issues/98","id":345785662,"node_id":"MDU6SXNzdWUzNDU3ODU2NjI=","number":98,"title":"how can i train fcn on voc","user":{"login":"oujieww","id":13203040,"node_id":"MDQ6VXNlcjEzMjAzMDQw","avatar_url":"https://avatars2.githubusercontent.com/u/13203040?v=4","gravatar_id":"","url":"https://api.github.com/users/oujieww","html_url":"https://github.com/oujieww","followers_url":"https://api.github.com/users/oujieww/followers","following_url":"https://api.github.com/users/oujieww/following{/other_user}","gists_url":"https://api.github.com/users/oujieww/gists{/gist_id}","starred_url":"https://api.github.com/users/oujieww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oujieww/subscriptions","organizations_url":"https://api.github.com/users/oujieww/orgs","repos_url":"https://api.github.com/users/oujieww/repos","events_url":"https://api.github.com/users/oujieww/events{/privacy}","received_events_url":"https://api.github.com/users/oujieww/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T14:36:05Z","updated_at":"2018-07-30T14:36:05Z","closed_at":null,"author_association":"NONE","body":"i use pascal_aug as train  voc12 as val, and batch size is None mean auto ,but i got\r\n RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 500 and 375 in dimension 2 at /storage2/oujie/DFN/PyTorch\r\nEncoding/pytorch/aten/src/TH/generic/THTensorMoreMath.cpp:1348\r\n\r\nI think this is because image of voc have different size ,but i think this code use crop from image so should not have those kind of problem.\r\n\r\ni also try batch=1\r\n    raise TypeError((error_msg.format(type(batch[0]))))\r\nTypeError: batch must contain tensors, numbers, dicts or lists; found <class 'PIL.Image.Image'>\r\n\r\nis there anyone know this ,please help me, thank you!!!\r\n"}}
{"actor":{"display_login":"oujieww"}}