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

where does the tensorflow logs files are saved #17

Closed
lidorshimoni opened this issue Oct 25, 2020 · 2 comments
Closed

where does the tensorflow logs files are saved #17

lidorshimoni opened this issue Oct 25, 2020 · 2 comments

Comments

@lidorshimoni
Copy link

I want to see the tensorboard after the training has finished, so I'm trying to use:

tensorboard --logdir path/to/logs
where is the "path/to/logs"?
the closest thing I saw was the "yolo_events.log" but I couldn't get this to work.

@hadikoub
Copy link
Member

The training logs are stored inside the docker container and not exported to the host folder and therefore could not be viewed.
they are stored inside ./runs

@lidorshimoni
Copy link
Author

lidorshimoni commented Oct 25, 2020

in order to use the tensorboard logs after the training has finished i change the "run_docker_linux_gpu.sh" file

# start docker
sudo docker run  --runtime=nvidia -it -e TRAIN_NAME=$container_name -e TRAIN_START_TIME="$(date '+%Y%m%d_%H:%M:%S')" $ports  -v $folder_path:/training/assets -v $(pwd)/trainings:/training/custom_training -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro --name $container_name darknet_yolov4_gpu:1 ; 

# copy tensorboard logs
mkdir -p tensorboard_logs/$container_name
docker cp $container_name:/training/runs tensorboard_logs/$container_name


# clean container
sudo docker container rm $container_name

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