From dev-return-6414-archive-asf-public=cust-asf.ponee.io@singa.apache.org Tue Oct 13 07:55:24 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 74FAE18060E for ; Tue, 13 Oct 2020 09:55:24 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id A79041219DB for ; Tue, 13 Oct 2020 07:55:23 +0000 (UTC) Received: (qmail 30648 invoked by uid 500); 13 Oct 2020 07:55:23 -0000 Mailing-List: contact dev-help@singa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.apache.org Delivered-To: mailing list dev@singa.apache.org Received: (qmail 30638 invoked by uid 99); 13 Oct 2020 07:55:23 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2020 07:55:23 +0000 From: =?utf-8?q?GitBox?= To: dev@singa.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bsinga=5D_lijiansong_commented_on_issue_=23744=3A_R?= =?utf-8?q?elated_to_some_test=5Fonnx=5Fbackend=2Epy_test_cases?= Message-ID: <160257572316.32230.4992440918853218826.asfpy@gitbox.apache.org> Date: Tue, 13 Oct 2020 07:55:23 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: lijiansong commented on issue #744: URL: https://github.com/apache/singa/issues/744#issuecomment-707562509 Wrong with the onnx testcase: ``` $ cd examples/onnx $ python3 training/train.py --model vgg16 ``` Then I get the following error msg: ``` File "training/train.py", line 437, in args.onnx_model_path, args.data, sgd, args.graph, args.verbosity) File "training/train.py", line 295, in run model.compile([tx], is_train=True, use_graph=graph, sequential=sequential) File "/home/extend/lijiansong/work-space/anaconda2/envs/intel-caffe/lib/python3.6/site-packages/singa/model.py", line 177, in compile self.forward(*inputs) File "/home/extend/lijiansong/work-space/anaconda2/envs/intel-caffe/lib/python3.6/site-packages/singa/layer.py", line 63, in wrapper return func(self, *args, **kwargs) File "training/train.py", line 191, in forward y = self.linear(y) File "/home/extend/lijiansong/work-space/anaconda2/envs/intel-caffe/lib/python3.6/site-packages/singa/layer.py", line 110, in __call__ return self.forward(*args, **kwargs) File "/home/extend/lijiansong/work-space/anaconda2/envs/intel-caffe/lib/python3.6/site-packages/singa/layer.py", line 61, in wrapper self.initialize(*args, **kwargs) File "/home/extend/lijiansong/work-space/anaconda2/envs/intel-caffe/lib/python3.6/site-packages/singa/layer.py", line 45, in wrapper 'initialize function expects PlaceHolders or Tensors') AssertionError: initialize function expects PlaceHolders or Tensors ``` Something maybe wrong with the layer initialization of singa? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org