CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

list index out of range

Open mycomedico opened this issue 1 year ago • 0 comments
trafficstars

I am trying to setup codeformer to test local inferencing. Here is the command and error i get during setup:

(codeformer) rubing@glenrubin-desktop:~/CodeFormer$ python basicsr/setup.py develop
Traceback (most recent call last):
  File "basicsr/setup.py", line 10, in <module>
    from utils.misc import gpu_is_available
  File "/home/rubing/CodeFormer/basicsr/utils/__init__.py", line 4, in <module>
    from .misc import check_resume, get_time_str, make_exp_dirs, mkdir_and_rename, scandir, set_random_seed, sizeof_fmt
  File "/home/rubing/CodeFormer/basicsr/utils/misc.py", line 12, in <module>
    IS_HIGH_VERSION = [int(m) for m in list(re.findall(r"^([0-9]+)\.([0-9]+)\.([0-9]+)([^0-9][a-zA-Z0-9]*)?(\+git.*)?$",\
IndexError: list index out of range

mycomedico avatar Mar 13 '24 14:03 mycomedico