Skip to content

about the train code #19

@blingsr

Description

@blingsr

Hi! Thanks to enjoy the train code.
But when I try to run the train.py , i meet a bug as follow:

25-01-05 17:30:59.827- INF0: Random seed:10486Traceback(most recent call last):File "/mnt/38f38406-5ab8-4ccd-9f29-22315eb9adbe/glare55/code/train_stage2.py", line 368, in main()File "/mnt/38f38406-5ab8-4ccd-9f29-22315eb9adbe/glare55/code/train_stage2.py", line 149, in maintrain set = dataset cls(opt=dataset opt, train=True, all opt=opt)File ""/mnt/38f38406-5ab8-4ccd-9f29-22315eb9adbe/glare55/code/data/LoL dataset.py", line 271,in initself,pairs =self.load pairs(self.root)File "/mnt/38f38406-5ab8-4ccd-9f29-22315eb9adbe/glaress/code/data/Lol dataset.py", line 286, in load pairs[cv2.cvtcolor(cv2.imread(os.path.join(folder path, 'low', f name)), cv2.COLOR BGRZRGB),#[:,4:-4,:],cv2.error: 0encv(4.18.9) /olopencv/modules/tmaproc/src/color.pp:196: error: (-215:Assertion failed)! src.empty()in function 'cvtcolor'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions