-
Notifications
You must be signed in to change notification settings - Fork 5
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
UnboundLocalError: local variable 'x' referenced before assignment #3
Comments
Hello friend, may I ask if you have successfully downloaded these four datasets? |
Hello, |
i can help you
…---Original---
From: ***@***.***>
Date: Sat, Dec 28, 2024 18:01 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [movingforward100/Dehazing_R] UnboundLocalError: local variable'x' referenced before assignment (Issue #3)
Hello,
I didn't download the datasets.
I tried to test the code with included images but the dimensions of the images are 4000x6000 and a GPU with more memory than mine is needed to run the model. (My GPU has 6GB memory). So I tried to test the model with smaller sized images.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Do you have any suggestions on what I should do?? |
I suggest you crop the image to 128 by 128, and then set it smaller in batch
…---Original---
From: ***@***.***>
Date: Sat, Dec 28, 2024 19:14 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [movingforward100/Dehazing_R] UnboundLocalError: local variable'x' referenced before assignment (Issue #3)
Do you have any suggestions on what I need to do??
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I suggest you crop the image to 128 by 128, and then set it smaller in batch
…---Original---
From: ***@***.***>
Date: Sat, Dec 28, 2024 19:14 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [movingforward100/Dehazing_R] UnboundLocalError: local variable'x' referenced before assignment (Issue #3)
Do you have any suggestions on what I need to do??
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hello, I am using the |
Hello
|
Hello,
when I tried to run the models for an image with dimensions 2565x1516 the following error appeared:
Do I need to modify the code somehow to accept different image dimensions other than 4000x6000?
The text was updated successfully, but these errors were encountered: