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

error in train.py file in root at line number 100 #6

Open
rajeshtva opened this issue Jan 26, 2021 · 0 comments
Open

error in train.py file in root at line number 100 #6

rajeshtva opened this issue Jan 26, 2021 · 0 comments

Comments

@rajeshtva
Copy link

rajeshtva commented Jan 26, 2021

Good afternoon sir.

there is an error saying undefined variable CLASS at line number 100 in the train.py file

---------------------------------------------------------------------------

NameError                                 Traceback (most recent call last)

<ipython-input-9-66b3304bbf9c> in <module>()
     94     X_FLAIR_val = to_uint8(get_data(FLAIR_val))[None,None,...]
     95     X_IR_val = IR_to_uint8(get_data(IR_val))[None,None,...]
---> 96     y_val = np.array(get_data(segm_val)==CLASS).astype(np.uint8)[None,...]
     97     print("STARTING TRAINING...")
     98     model_ = model()

NameError: name 'CLASS' is not defined


i am running this code in colab so. please ignore line number here

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

1 participant