Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'barez' #14

Open
ddongmogi opened this issue May 10, 2021 · 4 comments
Open

ModuleNotFoundError: No module named 'barez' #14

ddongmogi opened this issue May 10, 2021 · 4 comments

Comments

@ddongmogi
Copy link

ddongmogi commented May 10, 2021

While training with PubLayNet dataset, I found following error:

 [May-10 13:04] [CRITICAL] No module named 'barez'  <__main__, <module>(): 563>
Traceback (most recent call last):
  File "main_publaynet.py", line 557, in <module>
    main(args)
  File "main_publaynet.py", line 230, in main
    main_worker(0, ngpus_per_node, args)
  File "main_publaynet.py", line 394, in main_worker
    args=args
  File "main_publaynet.py", line 479, in train_one_epoch
    from barez import overlay_ann
ModuleNotFoundError: No module named 'barez'

So I use pip install barez, but I have ERROR: No matching distribution found for barez

I installed all modules in 'requirement.txt'.
I searched on google, but couldn't find a related solution. How can I solve it?

Thank you.

  • I use torch 1.5.1
@phamquiluan
Copy link
Owner

remove that barez, it is unnecessary

@ddongmogi
Copy link
Author

However, the overlay_ann function is being used in the code. Doesn't it need this code too?

from barez import overlay_ann
...
image = overlay_ann(image, m, box, "", score)

@phamquiluan
Copy link
Owner

it is unnecessary also @ddongmogi

@ddongmogi
Copy link
Author

@phamquiluan thank you for the advice. It works well !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants