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

FileNotFoundError: [WinError 3] The system cannot find the path specified: '../logs/yolo/ #5

Closed
ManjeeraJagiri opened this issue Aug 17, 2017 · 2 comments

Comments

@ManjeeraJagiri
Copy link

Any idea how to proceed?
I receive this error when I run the following section of the code --
tb_counter = max([int(num) for num in os.listdir('../logs/yolo/')] or [0]) + 1
tensorboard = TensorBoard(log_dir='../logs/yolo/' + str(tb_counter), histogram_freq=0, write_graph=True, write_images=False)

sgd = SGD(lr=0.00001, decay=0.0005, momentum=0.9)

model.compile(loss=custom_loss, optimizer=sgd)#'adagrad')
model.fit_generator(data_gen(all_img, BATCH_SIZE),
int(len(all_img)/BATCH_SIZE),
epochs = 100,
verbose = 2,
callbacks = [early_stop, checkpoint, tensorboard],
max_q_size = 3)

@experiencor
Copy link
Owner

experiencor commented Aug 17, 2017

I assume that the error was caused by the missing log folder of tensorboard. You may try to run the following snippet with tensorboard commented out instead.

#tb_counter = max([int(num) for num in os.listdir('../logs/yolo/')] or [0]) + 1
#tensorboard = TensorBoard(log_dir='../logs/yolo/' + str(tb_counter), histogram_freq=0, write_graph=True, write_images=False)

sgd = SGD(lr=0.00001, decay=0.0005, momentum=0.9)

model.compile(loss=custom_loss, optimizer=sgd)#'adagrad')
model.fit_generator(data_gen(all_img, BATCH_SIZE),
int(len(all_img)/BATCH_SIZE),
epochs = 100,
verbose = 2,
callbacks = [early_stop, checkpoint],#, tensorboard],
max_q_size = 3)

@ManjeeraJagiri
Copy link
Author

Yes it worked! The training is going on. I assume it will take a long time as I am running it on a CPU. Thanks a lot!!

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

2 participants