google-research/deeplab2

TypeError during deeplab2/compile.sh gpu

titq2022 opened this issue · 3 comments

The following error occurred while running deeplab2/compile.sh gpu.
Could you please tell me how to solve it?
image

I guess the error is similar to this stackoverflow question.
Could you please try:

  1. Upgrade your python >= 3.9
  2. or, try change Line 204 in moat_blocks.py as follows:
    from typing import List
    def build(self, input_shape: List[int]) -> None:

Thanks for the reply aquariusjay.

I tried number 2.
After some similar edits, it worked.

Glad to know that it works.
Closing the issue.