Bad key "text.kerning_factor" on line 4 in
D:\anaconda3\envs\detr\lib\site-packages\matplotlib\mpl-data\stylelib\_classic_test_patch.mplstyle.
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.1.2/matplotlibrc.template
or from the matplotlib source distribution
2 0 2 3 - 0 9 - 0 8 1 7 : 1 5 : 4 8 . 9 9 8 5 5 4 6 [ E : o n n x r u n t i m e : , i n f e r e n c e _ s e s s i o n . c c : 1 5 3 3 o n n x r u n t i m e : : I n f e r e n c e S e s s i o n : : I n i t i a l i z e : : < l a m b d a _ 9 a 5 b e 4 3 2 7 0 b 8 5 4 e d d 3 e f 3 2 0 c 0 a 5 c 4 d 9 a > : : o p e r a t o r ( ) ] E x c e p t i o n d u r i n g i n i t i a l i z a t i o n : D : \ a \ _ w o r k \ 1 \ s \ o n n x r u n t i m e \ c o r e \ p r o v i d e r s \ c p u \ t e n s o r \ r e s h a p e _ h e l p e r . h : 4 1 o n n x r u n t i m e : : R e s h a p e H e l p e r : : R e s h a p e H e l p e r g s l : : n a r r o w _ c a s t < i n t 6 4 _ t > ( i n p u t _ s h a p e . S i z e ( ) ) = = s i z e w a s f a l s e . T h e i n p u t t e n s o r c a n n o t b e r e s h a p e d t o t h e r e q u e s t e d s h a p e . I n p u t s h a p e : { 1 0 0 , 1 , 2 5 6 } , r e q u e s t e d s h a p e : { 1 0 0 , 8 0 0 , 3 2 }
Traceback (most recent call last):
File "D:\d1\my_code\8.31\detr-main\infer-onnxruntime.py", line 25, in <module>
session = onnxruntime.InferenceSession("onnx/detr.onnx", providers=["CPUExecutionProvider"])
File "D:\anaconda3\envs\detr\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 360, in __init__
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "D:\anaconda3\envs\detr\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 408, in _create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: D:\a\_work\1\s\onnxruntime\core\providers\cpu\tensor\reshape_helper.h:41 onnxruntime::ReshapeHelper::ReshapeHelper gsl::narrow_cast<int64_t>(input_shape.Size()) == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{100,1,256}, requested shape:{100,800,32}
Process finished with exit code 1
Bad key "text.kerning_factor" on line 4 in
D:\anaconda3\envs\detr\lib\site-packages\matplotlib\mpl-data\stylelib\_classic_test_patch.mplstyle.
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.1.2/matplotlibrc.template
or from the matplotlib source distribution
2 0 2 3 - 0 9 - 0 8 1 7 : 1 5 : 4 8 . 9 9 8 5 5 4 6 [ E : o n n x r u n t i m e : , i n f e r e n c e _ s e s s i o n . c c : 1 5 3 3 o n n x r u n t i m e : : I n f e r e n c e S e s s i o n : : I n i t i a l i z e : : < l a m b d a _ 9 a 5 b e 4 3 2 7 0 b 8 5 4 e d d 3 e f 3 2 0 c 0 a 5 c 4 d 9 a > : : o p e r a t o r ( ) ] E x c e p t i o n d u r i n g i n i t i a l i z a t i o n : D : \ a \ _ w o r k \ 1 \ s \ o n n x r u n t i m e \ c o r e \ p r o v i d e r s \ c p u \ t e n s o r \ r e s h a p e _ h e l p e r . h : 4 1 o n n x r u n t i m e : : R e s h a p e H e l p e r : : R e s h a p e H e l p e r g s l : : n a r r o w _ c a s t < i n t 6 4 _ t > ( i n p u t _ s h a p e . S i z e ( ) ) = = s i z e w a s f a l s e . T h e i n p u t t e n s o r c a n n o t b e r e s h a p e d t o t h e r e q u e s t e d s h a p e . I n p u t s h a p e : { 1 0 0 , 1 , 2 5 6 } , r e q u e s t e d s h a p e : { 1 0 0 , 8 0 0 , 3 2 }
Traceback (most recent call last):
File "D:\d1\my_code\8.31\detr-main\infer-onnxruntime.py", line 25, in <module>
session = onnxruntime.InferenceSession("onnx/detr.onnx", providers=["CPUExecutionProvider"])
File "D:\anaconda3\envs\detr\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 360, in __init__
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "D:\anaconda3\envs\detr\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 408, in _create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: D:\a\_work\1\s\onnxruntime\core\providers\cpu\tensor\reshape_helper.h:41 onnxruntime::ReshapeHelper::ReshapeHelper gsl::narrow_cast<int64_t>(input_shape.Size()) == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{100,1,256}, requested shape:{100,800,32}
Process finished with exit code 1