Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

训练时报错:AttributeError: 'NoneType' object has no attribute 'shape' #23

Open
@Wangyy-moya

Description

训练时,报下面的错误,请问怎么解决?

Traceback (most recent call last):
File "train.py", line 174, in
main()
File "train.py", line 170, in main
train.start_train()
File "train.py", line 148, in start_train
X_train, X_test, y_train, y_test=self.load_data()
File "train.py", line 55, in load_data
_, w, h = img.shape[::-1]
AttributeError: 'NoneType' object has no attribute 'shape'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /