Unable to verify the installation of mmyolo #705
Unanswered
anobmechanic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While verifying the demo code with "python demo/image_demo.py demo/demo.jpg yolov5_s-v61_syncbn_fast_8xb16-300e_coco.py yolov5_s-v61_syncbn_fast_8xb16-300e_coco_20220918_084700-86e02187.pth", error occurs with these:
(mmyolo) D:\mmyolo\mmyolo>python demo/image_demo.py demo/demo.jpg yolov5_s-v61_syncbn_fast_8xb16-300e_coco.py yolov5_s-v61_syncbn_fast_8xb16-300e_coco_20220918_084700-86e02187.pth Loads checkpoint by local backend from path: yolov5_s-v61_syncbn_fast_8xb16-300e_coco_20220918_084700-86e02187.pth 03/30 15:44:13 - mmengine - WARNING - "FileClient" will be deprecated in future. Please use io functions in https://mmengine.readthedocs.io/en/latest/api/fileio.html#file-io 03/30 15:44:13 - mmengine - WARNING - "HardDiskBackend" is the alias of "LocalBackend" and the former will be deprecated in future. 03/30 15:44:14 - mmengine - WARNING -
Visualizerbackend is not initialized because save_dir is None. [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 1/1, 0.1 task/s, elapsed: 8s, ETA: 0sTraceback (most recent call last): File "demo/image_demo.py", line 168, in <module> main() File "demo/image_demo.py", line 148, in main visualizer.add_datasample( File "D:\Anaconda\envs\mmyolo\lib\site-packages\mmengine\dist\utils.py", line 360, in wrapper return func(*args, **kwargs) File "D:\Anaconda\envs\mmyolo\lib\site-packages\mmdet\visualization\local_visualizer.py", line 369, in add_datasample pred_img_data = self._draw_instances(image, pred_instances, File "D:\Anaconda\envs\mmyolo\lib\site-packages\mmdet\visualization\local_visualizer.py", line 151, in _draw_instances self.draw_texts( File "D:\Anaconda\envs\mmyolo\lib\site-packages\mmengine\dist\utils.py", line 360, in wrapper return func(*args, **kwargs) File "D:\Anaconda\envs\mmyolo\lib\site-packages\mmengine\visualization\visualizer.py", line 532, in draw_texts self.ax_save.text( File "C:\Users\lyx20\AppData\Roaming\Python\Python38\site-packages\matplotlib\cbook\deprecation.py", line 358, in wrapper return func(*args, **kwargs) File "C:\Users\lyx20\AppData\Roaming\Python\Python38\site-packages\matplotlib\axes\_axes.py", line 770, in text t.update(effective_kwargs) File "C:\Users\lyx20\AppData\Roaming\Python\Python38\site-packages\matplotlib\text.py", line 177, in update super().update(kwargs) File "C:\Users\lyx20\AppData\Roaming\Python\Python38\site-packages\matplotlib\artist.py", line 1006, in update ret = [_update_property(self, k, v) for k, v in props.items()] File "C:\Users\lyx20\AppData\Roaming\Python\Python38\site-packages\matplotlib\artist.py", line 1006, in <listcomp> ret = [_update_property(self, k, v) for k, v in props.items()] File "C:\Users\lyx20\AppData\Roaming\Python\Python38\site-packages\matplotlib\artist.py", line 1003, in _update_property return func(v) File "C:\Users\lyx20\AppData\Roaming\Python\Python38\site-packages\matplotlib\text.py", line 1224, in set_fontproperties self._fontproperties = fp.copy() AttributeError: 'NoneType' object has no attribute 'copy'
Beta Was this translation helpful? Give feedback.
All reactions