Closed SoniaGrh closed 11 months ago
I would personally slightly change the folder hierarchy for the base/
folder, something like :
base/
|-- logs/
| |-- __init__.py
| |-- handler.py (previously logs_handler.py)
| |-- monitor.py (previously log_monitor.py)
| |-- tailer.py (previously log_tailer.py)
|
|-- utils/
| |-- __init__.py
| |-- picsellia.py (i guess this should conflict with the picsellia package by calling utils.picsellia)
I would personally slightly change the folder hierarchy for the
base/
folder, something like :base/ |-- logs/ | |-- __init__.py | |-- handler.py (previously logs_handler.py) | |-- monitor.py (previously log_monitor.py) | |-- tailer.py (previously log_tailer.py) | |-- utils/ | |-- __init__.py | |-- picsellia.py (i guess this should conflict with the picsellia package by calling utils.picsellia)
The folder "utils" was also conflicting with the utils folder/file of training images, should I replace it with
|-- base_utils/ | |-- init.py | |-- picsellia_utils.py
Or do you have a better suggestion ?
Handle logs using only job's methods (and not experiment's)
Handle progress bar in real time (logging progression at the same line)
Create a LogMonitor class to monitor the log of one job
Create a LogTailer class to handle each line of a log file
Add a utils file to get the Picsellia client and job