ZhouYanzhao / PRM

Weakly Supervised Instance Segmentation using Class Peak Response, in CVPR 2018 (Spotlight)
346 stars 60 forks source link

run_tasks('./config.yml') TypeError #33

Open keyouth0 opened 3 years ago

keyouth0 commented 3 years ago

TypeError occurs when I run the cell " run_tasks('./config.yml') ".The details are as follows.Everything is OK when I install the nest and PRM modules.Hope someone could help me solve this problem.Please~ 帮帮我~

TypeError: The param "transform" of Nest module "fetch_data" should be type of "Union[Callable, NoneType]". Got image_transform( [✓] image_size: Union[int, List[int]], augmentation: dict, [✓] mean: List[float] = [0.485, 0.456, 0.406], [✓] std: List[float] = [0.229, 0.224, 0.225]) -> Callable Please check if some important params of Nest module "image_transform" have been forgotten in use. run_tasks

18507113156 commented 3 years ago

我遇到了同样的问题 你解决了吗?

keyouth0 commented 3 years ago

前面有一个回答,提到了用的一个新的复现工程 ultra-thin-prm,这个是可以跑的,你可以看看 签名由网易邮箱大师定制 On 11/26/2020 20:22,18507113156notifications@github.com wrote:

我遇到了同样的问题 你解决了吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.