Fafa-DL / Awesome-Backbones

Integrate deep learning models for image classification | Backbone learning/comparison/magic modification project
1.58k stars 249 forks source link

训练和评估都提示报错,求助 #134

Open Abidalswark opened 22 hours ago

Abidalswark commented 22 hours ago

Traceback (most recent call last): File "D:\project\Awesome-Backbones\tools\batch_test.py", line 61, in main() File "D:\project\Awesome-Backbones\tools\batch_test.py", line 48, in main img_show = imshow_infos(img, result,show = False,out_file=out_path) File "D:\project\Awesome-Backbones\core\visualization\image.py", line 334, in imshowinfos , img = manager.put_img_infos( File "D:\project\Awesome-Backbones\core\visualization\image.py", line 269, in put_imginfos stream, = self.fig_save.canvas.print_to_buffer() File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\backends\backend_agg.py", line 499, in print_to_buffer FigureCanvasAgg.draw(self) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\backends\backend_agg.py", line 387, in draw self.figure.draw(self.renderer) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\figure.py", line 3162, in draw mimage._draw_list_compositing_images( File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\axes_base.py", line 3137, in draw mimage._draw_list_compositing_images( File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "D:\anaconda3\envs\Image_classification\lib\site-packages\matplotlib\image.py", line 656, in draw renderer.draw_image(gc, l, b, im) ValueError: object array method not producing an array

Fafa-DL commented 16 hours ago

你单帧测试能跑通吗?