{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/ELL/issues/43","repository_url":"https://api.github.com/repos/Microsoft/ELL","labels_url":"https://api.github.com/repos/Microsoft/ELL/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ELL/issues/43/comments","events_url":"https://api.github.com/repos/Microsoft/ELL/issues/43/events","html_url":"https://github.com/Microsoft/ELL/issues/43","id":241071823,"number":43,"title":"darknetDemo errors","user":{"login":"ack72tdp","id":29803780,"avatar_url":"https://avatars1.githubusercontent.com/u/29803780?v=3","gravatar_id":"","url":"https://api.github.com/users/ack72tdp","html_url":"https://github.com/ack72tdp","followers_url":"https://api.github.com/users/ack72tdp/followers","following_url":"https://api.github.com/users/ack72tdp/following{/other_user}","gists_url":"https://api.github.com/users/ack72tdp/gists{/gist_id}","starred_url":"https://api.github.com/users/ack72tdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ack72tdp/subscriptions","organizations_url":"https://api.github.com/users/ack72tdp/orgs","repos_url":"https://api.github.com/users/ack72tdp/repos","events_url":"https://api.github.com/users/ack72tdp/events{/privacy}","received_events_url":"https://api.github.com/users/ack72tdp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-06T20:11:07Z","updated_at":"2017-07-06T20:11:07Z","closed_at":null,"body":"(py36) root@8fa27a83d7dd:~/ELL/build/tutorials/vision/gettingStarted# python darknetDemo.py\r\nconvolutional:  224 x 224 x 3 ->  224 x 224 x 16 , pad  1\r\nmax_pool:  224 x 224 x 16 ->  112 x 112 x 16 , pad  0\r\nconvolutional:  112 x 112 x 16 ->  112 x 112 x 32 , pad  1\r\nmax_pool:  112 x 112 x 32 ->  56 x 56 x 32 , pad  0\r\nconvolutional:  56 x 56 x 32 ->  56 x 56 x 64 , pad  1\r\nmax_pool:  56 x 56 x 64 ->  28 x 28 x 64 , pad  0\r\nconvolutional:  28 x 28 x 64 ->  28 x 28 x 128 , pad  1\r\nmax_pool:  28 x 28 x 128 ->  14 x 14 x 128 , pad  0\r\nconvolutional:  14 x 14 x 128 ->  14 x 14 x 256 , pad  1\r\nmax_pool:  14 x 14 x 256 ->  7 x 7 x 256 , pad  0\r\nconvolutional:  7 x 7 x 256 ->  7 x 7 x 512 , pad  1\r\nmax_pool:  7 x 7 x 512 ->  4 x 4 x 512 , pad  1\r\nconvolutional:  4 x 4 x 512 ->  4 x 4 x 1024 , pad  1\r\nconvolutional:  4 x 4 x 1024 ->  4 x 4 x 1000 , pad  0\r\navg_pool:  4 x 4 x 1000 ->  1 x 1 x 1000 , pad  0\r\nsoftmax:  1 x 1 x 1000 ->  1 x 1 x 1000\r\nTraceback (most recent call last):\r\n  File \"darknetDemo.py\", line 70, in <module>\r\n    main()\r\n  File \"darknetDemo.py\", line 28, in main\r\n    model = get_ell_predictor(helper)\r\n  File \"darknetDemo.py\", line 12, in get_ell_predictor\r\n    return darknet_to_ell.predictor_from_darknet_model(helper.model_files[0], helper.model_files[1])\r\n  File \"./../../../../build/tools/importers/Darknet/darknet_to_ell.py\", line 432, in predictor_from_darknet_model\r\n    predictor = process_network(network, weightsData, convolutionOrder)\r\n  File \"./../../../../build/tools/importers/Darknet/darknet_to_ell.py\", line 396, in process_network\r\n    ellLayers += process_convolutional_layer(layer, weightsData, convolutionOrder)\r\n  File \"./../../../../build/tools/importers/Darknet/darknet_to_ell.py\", line 283, in process_convolutional_layer\r\n    weight_vals.append(struct.unpack('f', bin_data.read(4)))\r\nstruct.error: unpack requires a bytes object of length 4\r\n\r\n\r\n(py36) root@8fa27a83d7dd:~/ELL/build/tutorials/vision/gettingStarted# sh compile_darknetReference.sh\r\nCompiling darknetReference from ELL, emitting LLVM IR\r\nCommand line parse error:\r\nCannot read from specified input map file: darknetReference.map\r\nParsing darknetReference from ELL, generating SWIG interface\r\nCommand line parse error:\r\nCannot read from specified input map file: darknetReference.map\r\nCompiling darknetReference LLVM IR, generating model object file\r\ncompile_darknetReference.sh: 9: compile_darknetReference.sh: llc: not found\r\nRunning disutils setup to compile and link model + SWIG wrappers into Python module, and install package locally\r\nrunning build\r\nrunning build_ext\r\nbuilding '_darknetReference' extension\r\nswigging darknetReference.i to darknetReference_wrap.cpp\r\nswig -python -modern -c++ -py3 -Fmicrosoft -I/root/ELL/interfaces/common -I/root/ELL/interfaces/common/include -I/root/ELL/libraries/emitters/include -o darknetReference_wrap.cpp darknetReference.i\r\nUnable to find file 'darknetReference.i'.\r\nerror: command 'swig' failed with exit status 1\r\n\r\nAnyone seen these errors?\r\n"}}
{"actor":{"display_login":"ack72tdp"}}