We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hi, I want to know why when the get the train data, their are two generator.
def train_generator_func(): while True: X = train_generator1.next() print X.shape Y1 = train_generator2.next() yield X, [Y1, np.zeros(shape=(Y1.shape[0], img_rows - 4, img_cols - 4)), np.zeros(shape=(Y1.shape[0], img_rows - 4, img_cols - 4))]
please, can I discard the Y1 ? and just use the X? thank you very much.
The text was updated successfully, but these errors were encountered:
I have a related issue. On the very last walkthrough section, I get:
generator' object has no attribute 'next'.
Sorry, something went wrong.
using -- dat = next(data_generator) instead of -- dat = data_generator.next()
works !! Python3 issue
No branches or pull requests
hi, I want to know why when the get the train data, their are two generator.
def train_generator_func():
while True:
X = train_generator1.next()
print X.shape
Y1 = train_generator2.next()
yield X, [Y1, np.zeros(shape=(Y1.shape[0], img_rows - 4, img_cols - 4)),
np.zeros(shape=(Y1.shape[0], img_rows - 4, img_cols - 4))]
please, can I discard the Y1 ?
and just use the X? thank you very much.
The text was updated successfully, but these errors were encountered: