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

I got some problems when train network #2

Open
Wangs121 opened this issue Aug 2, 2018 · 0 comments
Open

I got some problems when train network #2

Wangs121 opened this issue Aug 2, 2018 · 0 comments

Comments

@Wangs121
Copy link

Wangs121 commented Aug 2, 2018

Hello, When I run 'Learn to Drive.ipynb' , In Train non-recurrent network part of :
`tb_counter = max([int(num) for num in os.listdir('../logs/')]) + 1
tensorboard = TensorBoard(log_dir='../logs/' + str(tb_counter), histogram_freq=0, write_graph=True, write_images=False)

minimizer = SGD(lr=0.0001)

#model.compile(loss=custom_loss, optimizer=minimizer)
model.compile(loss=custom_loss, optimizer='adam')

model.fit_generator(generator = gen_train.get_gen(),
steps_per_epoch = num_train,
epochs = 3,
verbose = 1,
validation_data = gen_valid.get_gen(),
validation_steps = num_valid,
callbacks = [early_stop, checkpoint, tensorboard],
max_q_size = 3)`
it occurred an withFileNotFoundError, can't find ../logs/ folder, but when I create a folder named logs, another error occurred. Your generous help means a lot to me. Thank you.

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