models icon indicating copy to clipboard operation
models copied to clipboard

MaskConver: ModuleNotFoundError: No module named 'official.vision.configs.google'

Open wenbo-wei opened this issue 1 year ago • 1 comments

1. The entire URL of the file you are using

https://github.com/tensorflow/models/tree/master/official/projects/maskconver

2. Describe the bug

When I run train.py in maskconver, it got this issue. Screenshot from 2024-11-26 19-24-30

3. Steps to reproduce

Follow the installation showing in https://github.com/tensorflow/models/tree/master to install and run train.py in maskconver can reproduce this error.

wenbo-wei avatar Nov 26 '24 20:11 wenbo-wei

1. The entire URL of the file you are using

https://github.com/tensorflow/models/tree/master/official/projects/maskconver

2. Describe the bug

When I run train.py in maskconver, it got this issue. Screenshot from 2024-11-26 19-24-30

3. Steps to reproduce

Follow the installation showing in https://github.com/tensorflow/models/tree/master to install and run train.py in maskconver can reproduce this error.

Try changing 'from official.vision.configs.google import backbones' to 'from official.vision.configs import backbones' and see if that works.

TaylorLi123 avatar Feb 27 '25 02:02 TaylorLi123