PaddlePaddle / PaddleSeg

Easy-to-use image segmentation library with awesome pre-trained model zoo, supporting wide-range of practical tasks in Semantic Segmentation, Interactive Segmentation, Panoptic Segmentation, Image Matting, 3D Segmentation, etc.
https://arxiv.org/abs/2101.06175
Apache License 2.0
8.69k stars 1.68k forks source link

AttributeError: module 'paddleseg' has no attribute 'cvlibs' #532

Closed deep-practice closed 3 years ago

deep-practice commented 4 years ago

按照动态图ReadMe里面的步骤操作,出现了这个错误

michaelowenliu commented 4 years ago

@deep-practice Hi, did you set PYTHONPATH?

deep-practice commented 4 years ago

Yes,just follow the readme.

michaelowenliu commented 4 years ago

Yes,just follow the readme.

@deep-practice hi, could you provide the error log?

deep-practice commented 4 years ago

8

michaelowenliu commented 4 years ago

@deep-practice Hi, thanks. Could you please provide the versions of python/paddle/OS? Then we can reproduce the issue easier.

deep-practice commented 4 years ago

OS:Ubuntu18.04 python:3.6.9 paddle:2.0rc @michaelowenliu

michaelowenliu commented 4 years ago

@deep-practice Hi, thanks, we have reproduced and resolved the issue with the same environment, where there is a little bit difference between py3.6 and 3.7. Please pull the updates.

deep-practice commented 4 years ago

Wow,I can use the pdseg dygraph version now.Thx.

deep-practice commented 4 years ago

L error 加载HRNet48的预训练模型报错 @michaelowenliu

deep-practice commented 4 years ago

不加载预训练模型,又出现了内存错误 error2

michaelowenliu commented 4 years ago

@deep-practice hi, how did you load the model or run the model?

deep-practice commented 4 years ago

python train.py --config config_file

deep-practice commented 4 years ago

The dataset reader is same as optic_disc_seg

michaelowenliu commented 4 years ago

OS:Ubuntu18.04 python:3.6.9 paddle:2.0rc @michaelowenliu

@deep-practice Could you please update paddle to 2.0-rc? We have already localized the pretrain loading error that would be resolved by today, but you can use another way to load it, i.e. download the pretrained model manually, and specify the local path in the config file instead of using its url. As for memory issue, we have yet to reproduce it, does it occur every time? I guess it could be related to your local running environment. Anyway, we are still trying to figure out the problem.

deep-practice commented 4 years ago

my paddle version is 2.0-rc already

deep-practice commented 3 years ago

@michaelowenliu Any luck?

deep-practice commented 3 years ago

The latest version fix my problem.