You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.
请提出你的问题 Please ask your question
I can't train my model on custom dataset because Error: cannot import name 'setup_logger' from 'paddleseg.utils.logger' on google colab.
PaddlePaddle 2.6.2
paddleseg 2.8.0
python 3.10.12
I run this code:
Traceback (most recent call last):
File "/content/PaddleSeg/tools/train.py", line 27, in
from paddleseg.utils.logger import setup_logger
ImportError: cannot import name 'setup_logger' from 'paddleseg.utils.logger' (/usr/local/lib/python3.10/dist-packages/paddleseg/utils/logger.py)
The text was updated successfully, but these errors were encountered:
问题确认 Search before asking
请提出你的问题 Please ask your question
I can't train my model on custom dataset because Error: cannot import name 'setup_logger' from 'paddleseg.utils.logger' on google colab.
PaddlePaddle 2.6.2
paddleseg 2.8.0
python 3.10.12
I run this code:
python train.py
--config configs/quick_start/pp_liteseg_optic_disc_512x512_1k.yml
--do_eval
--use_vdl
--save_interval 500
--save_dir output
Traceback (most recent call last):
File "/content/PaddleSeg/tools/train.py", line 27, in
from paddleseg.utils.logger import setup_logger
ImportError: cannot import name 'setup_logger' from 'paddleseg.utils.logger' (/usr/local/lib/python3.10/dist-packages/paddleseg/utils/logger.py)
The text was updated successfully, but these errors were encountered: