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

Training Logs #2

Closed
WangHelin1997 opened this issue Dec 14, 2021 · 3 comments
Closed

Training Logs #2

WangHelin1997 opened this issue Dec 14, 2021 · 3 comments

Comments

@WangHelin1997
Copy link

Hi authors, thanks for the great work!
Is there any log files in the training stage?
I didn't find it.

@kkoutini
Copy link
Owner

Hi! thank you!
We relay on sacred logging in a MongoDB, for details please see here (there other sacred loggers possible such as file storage)
For example, to store in mongodb_server:27000:audioset21_balanced (server:port:database_name)

 python ex_audioset.py with trainer.precision=16 models.net.arch=passt_deit_bd_p16_384 -p -m mongodb_server:27000:audioset21_balanced -c "PaSST base"

There is also an option to add tensorboard trainer.use_tensorboard_logger (not tested yet)
Example:

 python ex_audioset.py with trainer.precision=16 models.net.arch=passt_deit_bd_p16_384  trainer.use_tensorboard_logger=True -p

We will try to add weights&biases soon.
Let me know if you face any issues

@WangHelin1997
Copy link
Author

Hi! Thanks for your help.
I found that MongoDB needs a server which is now difficult for me to set up one (I did not know why).
Instead, I use the following command:

python ex_audioset.py with trainer.precision=16 models.net.arch=passt_deit_bd_p16_384 -p -F My_DIr -c "PaSST base"

And I got these files in My_Dir:

My_dir
  1
    config.json 
    cout.txt�
    info.json
    metrics.json�
    run.json
 _sources
...

Is it right?

Also, I tried:

python ex_audioset.py with trainer.precision=16 models.net.arch=passt_deit_bd_p16_384  trainer.use_tensorboard_logger=True -p

It seems not work (without saved tensorboard files).

@WangHelin1997
Copy link
Author

Hi, by using this I can get the summary log file:

python ex_audioset.py with trainer.precision=16 models.net.arch=passt_deit_bd_p16_384  trainer.use_tensorboard_logger=True -p

Thanks.

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