最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

deep learning - how to run detectron2 with py config file - Stack Overflow

programmeradmin4浏览0评论

I try to run detectron2. In the examples in the documentation pages, for example this page, the config file is a yaml file. A lot of the models provided in this package are given (from the github code project) as py config files. For example, in this link is the list of the models, but these models that I want to use are py config files. I don't succeed to run detectron2 with any of the models that are in py file.

It seems that the code doesn't build to accept the py file config, because when I run the code with a py config, the failure is in this line:

loaded_cfg = self.load_yaml_with_base(cfg_filename, allow_unsafe=allow_unsafe)

line 46 in the file detectron2/detectron2/config/config.py.

How can I run the model that is in the py file?

发布评论

评论列表(0)

  1. 暂无评论