Comments (7)
and NMS plumbing
from chainer-compiler.
+TopK
from chainer-compiler.
👀 #618
from chainer-compiler.
Scatter missing too: https://github.com/onnx/onnx/blob/master/docs/Operators.md#Scatter
from chainer-compiler.
Current state after #639:
Initializing ChainerX...
Loading model...
Loading data...
Found 1 test cases
Constructing model...
Generate code...
Running for ~/dev/archive/mask_rcnn_R_50_FPN_1x/test_data_set_0
run_onnx: ~/dev/chainer-compiler/third_party/chainer/chainerx_cc/chainerx/cuda/cuda_device/indexing.cu:37: chainerx::Axes chainerx::cuda::_GLOBAL__N__43_tmpxft_000006b2_00000000_6_indexing_cpp1_ii_48d72df5::MakeRollingPermutation(int8_t, int8_t, int8_t): Assertion `first_axis < last_axis' failed.
/bin/bash: line 1: 11092 Aborted (core dumped) ./build/tools/run_onnx -d cuda:0 --test ~/dev/archive/mask_rcnn_R_50_FPN_1x
from chainer-compiler.
[INVALID_ARGUMENT] unknown command: bin/bash: (62696e2f626173683a)
2019-09-04 15:37:04.039060 github_issue_comment.go:99] unknown command: bin/bash: (62696e2f626173683a)
Stack trace:
github.com/pfnet/imosci/util/frontend/handler/apihandler.(*githubWebhookIssueCommentFlow).Do (github_issue_comment.go:99)
github.com/pfnet/imosci/util/frontend/handler/apihandler.githubIssueCommentHandler (github_issue_comment.go:45)
runtime.call64 (asm_amd64.s:523)
reflect.Value.call (value.go:447)
reflect.Value.Call (value.go:308)
github.com/pfnet/imosci/util/frontend/core.RegisterAPIHandlerInternal.func1 (handler.go:417)
github.com/pfnet/imosci/util/frontend/core.RegisterHandler.func1 (handler.go:173)
github.com/pfnet/imosci/util/frontend/core.RegisterHandler.func2.1 (handler.go:275)
github.com/pfnet/imosci/util/frontend/core.RegisterHandler.func2 (handler.go:280)
net/http.HandlerFunc.ServeHTTP (server.go:1964)
net/http.(*ServeMux).ServeHTTP (server.go:2361)
github.com/pfnet/imosci/util/api.callInternal.func2 (call.go:196)
github.com/pfnet/imosci/util/api.callInternal (call.go:204)
github.com/pfnet/imosci/util/api.Call (call.go:120)
github.com/pfnet/imosci/util/api.GithubIssueComment (call.go:492)
github.com/pfnet/imosci/util/frontend/handler/xternalhandler.githubWebhookHandler (github_webhook.go:118)
github.com/pfnet/imosci/util/frontend/core.RegisterHandler.func1 (handler.go:173)
github.com/pfnet/imosci/util/frontend/core.RegisterHandler.func2.1 (handler.go:275)
github.com/pfnet/imosci/util/frontend/core.RegisterHandler.func2 (handler.go:280)
net/http.HandlerFunc.ServeHTTP (server.go:1964)
net/http.(*ServeMux).ServeHTTP (server.go:2361)
google.golang.org/appengine/internal.executeRequestSafely (api.go:162)
google.golang.org/appengine/internal.handleHTTP (api.go:121)
net/http.HandlerFunc.ServeHTTP (server.go:1964)
net/http.serverHandler.ServeHTTP (server.go:2741)
net/http.(*conn).serve (server.go:1847)
runtime.goexit (asm_amd64.s:1333)
from chainer-compiler.
Unknown Tensor shape: 6803 producer=Expand
Unknown Tensor shape: 6831 producer=Expand
Unknown Tensor shape: 6748 producer=Cast
Unknown Tensor shape: 6776 producer=Cast
Unknown Tensor shape: 6804 producer=Cast
Unknown Tensor shape: 6832 producer=Cast
Unknown Tensor shape: 6749 producer=Scatter
Unknown Tensor shape: 6777 producer=Scatter
Unknown Tensor shape: 6805 producer=Scatter
Unknown Tensor shape: 6833 producer=Scatter
Unknown Tensor shape: 6836 producer=Conv
Unknown Tensor shape: 6837 producer=Relu
Unknown Tensor shape: 6840 producer=Conv
Unknown Tensor shape: 6841 producer=Relu
Unknown Tensor shape: 6844 producer=Conv
Unknown Tensor shape: 6845 producer=Relu
Unknown Tensor shape: 6848 producer=Conv
Unknown Tensor shape: 6849 producer=Relu
Unknown Tensor shape: 6852 producer=ConvTranspose
Unknown Tensor shape: 6853 producer=Relu
Unknown Tensor shape: 6856 producer=Conv
Unknown Tensor shape: 6857 producer=Sigmoid
Unknown Tensor shape: 6864 producer=ConstantFill
Unknown Tensor shape: 6865 producer=Cast
Unknown Tensor shape: 6880 producer=Reshape
Unknown Tensor shape: 6866 producer=NonZero
Unknown Tensor shape: 6867 producer=Transpose
Unknown Tensor shape: 6868 producer=Squeeze
Unknown Tensor shape: 6884 producer=Mul
Unknown Tensor shape: 6885 producer=Add
Unknown Tensor shape: 6886 producer=Gather
Unknown Tensor shape: 6887 producer=Unsqueeze
WARNING: Incomplete memory simulation due to unknown shapes (3637/6838)
Simulated memory usage: param=0MB peak=177MB all=177MB
Incomplete flops clalculation
Total flops: 474
Generate code...
Running for /home/twata/dev/archive/mask_rcnn_R_50_FPN_1x/test_data_set_0
Thread 1 "run_onnx" received signal SIGFPE, Arithmetic exception.
0x00007ffff779b695 in chainerx::IndexIterator<(signed char)-1>::Set (i=0, this=0x7fffffffb0c0) at ../third_party/chainer/chainerx_cc/chainerx/index_iterator.h:251
251 index_[j] = i % shape_[j]; // NOLINT(cppcoreguidelines-pro-bounds-constant-array-index)
(gdb) bt
#0 0x00007ffff779b695 in chainerx::IndexIterator<(signed char)-1>::Set (i=0, this=0x7fffffffb0c0) at ../third_party/chainer/chainerx_cc/chainerx/index_iterator.h:251
#1 chainerx::IndexIterator<(signed char)-1>::Restart (this=0x7fffffffb0c0) at ../third_party/chainer/chainerx_cc/chainerx/index_iterator.h:216
#2 chainerx::native::(anonymous namespace)::NativeTakeKernel::<lambda(auto:5)>::operator()<chainerx::PrimitiveType<long int> >(void) const (__closure=__closure@entry=0x7fffffffb730, pt=...)
at ../third_party/chainer/chainerx_cc/chainerx/native/native_device/indexing.cc:90
#3 0x00007ffff779f2ea in chainerx::VisitDtype<chainerx::native::(anonymous namespace)::NativeTakeKernel::Call(const chainerx::Array&, const chainerx::Array&, int8_t, const chainerx::Array&, chainerx::IndexBoundsMode)::<lambda(auto:
5)> > (f=..., dtype=chainerx::Dtype::kInt64) at ../third_party/chainer/chainerx_cc/chainerx/dtype.h:148
#4 chainerx::native::(anonymous namespace)::NativeTakeKernel::Call (this=<optimized out>, a=..., indices=..., axis=<optimized out>, out=..., mode=chainerx::IndexBoundsMode::kDefault)
at ../third_party/chainer/chainerx_cc/chainerx/native/native_device/indexing.cc:39
#5 0x00007ffff75683b2 in chainerx::Backend::CallKernel<chainerx::TakeKernel, chainerx::Array const&, chainerx::Array const&, signed char&, chainerx::Array&, chainerx::IndexBoundsMode&> (this=<optimized out>)
at ../third_party/chainer/chainerx_cc/chainerx/backend.h:60
#6 chainerx::Take (a=..., indices=..., axis=axis@entry=1 '\001', mode=mode@entry=chainerx::IndexBoundsMode::kDefault) at ../third_party/chainer/chainerx_cc/chainerx/routines/indexing.cc:188
#7 0x00007ffff74bc310 in chainerx::Array::Take (this=this@entry=0x7fffffffbbd0, indices=..., axis=axis@entry=1 '\001', mode=mode@entry=chainerx::IndexBoundsMode::kDefault)
at ../third_party/chainer/chainerx_cc/chainerx/array.cc:378
#8 0x000055555584cb84 in chainer_compiler::runtime::GatherOp::RunImpl (this=this@entry=0x5555728126e0, st=st@entry=0x555555de53f0, data=..., indices=...) at ../runtime/ops/indexing.cc:246
#9 0x00005555557bc28f in chainer_compiler::runtime::GatherOp::Run (this=0x5555728126e0, st=0x555555de53f0) at runtime/gen_chxvm_ops.cc:1846
#10 0x000055555577f913 in chainer_compiler::runtime::ChxVM::Run (this=this@entry=0x555555e631a0, state=0x555555de53f0) at ../runtime/chxvm.cc:186
#11 0x0000555555783d93 in chainer_compiler::runtime::ChxVM::Run (this=0x555555e631a0, program_inputs=std::map with 1 element = {...}, options=...) at ../runtime/chxvm.cc:164
#12 0x0000555555593090 in chainer_compiler::runtime::(anonymous namespace)::ModelRunner::Run (inputs=std::map with 1 element = {...}, this=<optimized out>, this=<optimized out>) at ../tools/run_onnx.cc:215
#13 chainer_compiler::runtime::(anonymous namespace)::RunMain (argv=...) at ../tools/run_onnx.cc:430
#14 0x000055555558b6a8 in main (argc=<optimized out>, argv=<optimized out>) at ../tools/run_onnx_main.cc:8
from chainer-compiler.
Related Issues (20)
- Reconsider the API to access Graph
- Dead code removal in canonicalizer.
- Unify how flags/configs are organized
- GemmOp which directly uses clblas
- Resize needs some fixes
- Compile MaskRCNNFPNResNet50 with elichika
- RoiAlign batch_indices type handled incorrectly HOT 1
- Extend FLOPS estimator for ConvTranspose and ConvGradWeight HOT 1
- Deprecate CH2O HOT 1
- Expose chainer-compiler flags feature to menoh API
- Missing menoh_make_model_data_from_onnx_data_on_memory HOT 3
- Update gast to 0.3.x HOT 2
- dtype and passed std::vector<T> data type may not match HOT 2
- Deprecation of TensorRT output formula
- Honor opset_import in ModelProto HOT 2
- Make menoh version resnet50.onnx run
- Mac bot flaky?
- Generate JUnit XML in run_onnx for CI test failure tracking
- Update ChainerX when fast `IndexIterator` is merged
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chainer-compiler.