Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

验证安装时的提示 #120

Closed
Jasonvon opened this issue Sep 30, 2022 · 10 comments
Closed

验证安装时的提示 #120

Jasonvon opened this issue Sep 30, 2022 · 10 comments

Comments

@Jasonvon
Copy link

📚 The doc issue

用xshell连服务器安装MMYOLO,验证安装时提示如下,就停滞了

local loads checkpoint from path: yolov5_s-v61_syncbn_fast_8xb16-300e_coco_20220918_084700-86e02187.pth
/home/***/.conda/envs/open-mmlab/lib/python3.8/site-packages/mmengine/visualization/visualizer.py:170: UserWarning: Visualizer backend is not initialized because save_dir is None.
warnings.warn('Visualizer backend is not initialized '

Suggest a potential alternative/fix

No response

@mm-assistant
Copy link

mm-assistant bot commented Sep 30, 2022

We recommend using English or English & Chinese for issues so that we could have broader discussion.

@RangeKing
Copy link
Collaborator

RangeKing commented Sep 30, 2022

Hi @Jasonvon,感谢使用MMYOLO。您可以查看一下mmyolo文件夹下是否正常生成了 result.jpg。如果生成,那么说明您已经安装成功。
我们后续也会优化验证安装时的提示逻辑,目前确实比较容易造成困惑。

@Jasonvon
Copy link
Author

Jasonvon commented Oct 1, 2022

Hi @Jasonvon,感谢使用MMYOLO。您可以查看一下mmyolo文件夹下是否正常生成了 result.jpg。如果生成,那么说明您已经安装成功。 我们后续也会优化验证安装时的提示逻辑,目前确实比较容易造成困惑。

hi @RangeKing 停滞整晚依然没有生成result.jpg,请问有其他验证方式吗?

@RangeKing
Copy link
Collaborator

hi @RangeKing 停滞整晚依然没有生成result.jpg,请问有其他验证方式吗?

@Jasonvon 您可以尝试跑跑看 yolov5_tutorial.md #数据集准备 以及之后的内容。

@JiayuXu0
Copy link
Contributor

JiayuXu0 commented Oct 3, 2022

@Jasonvon 因为你是采用远程ssh到开发机上调试,最终可视化时由于是远程调试无法显示,导致键盘事件也响应不了。暂时你先把show改为False即可。
visualizer.add_datasample( 'result', img, data_sample=result, draw_gt=False, show=False, wait_time=0, out_file=args.out_file, pred_score_thr=args.score_thr)

@hhaAndroid
Copy link
Collaborator

@JiayuXu0 we will improve it. Thank you

@Jasonvon
Copy link
Author

Jasonvon commented Oct 9, 2022

hi @JiayuXu0 能否给更详细的操作步骤呢,如何将show改为False呀

@JiayuXu0
Copy link
Contributor

hi @JiayuXu0 能否给更详细的操作步骤呢,如何将show改为False呀

image

@tcexeexe
Copy link

hi @JiayuXu0 能否给更详细的操作步骤呢,如何将show改为False呀

image

在demo/image_demo.py中第53行
1665655240588

@PeterH0323
Copy link
Collaborator

Hi @Jasonvon
V0.1.2 的 image_demo 默认不显示图片,若要显示则加上 --show

parser.add_argument(
'--show', action='store_true', help='Show the detection results')

这边我先将 Issue 关掉了,如果您后续有其他什么疑问的话,欢迎继续提交 Issue ,若还需要讨论关于这个的话,可以将这个 issue 重开。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants