isl-org / Open3D-ML

An extension of Open3D to address 3D Machine Learning tasks
Other
1.82k stars 313 forks source link

log_train empty #606

Closed RauchLukas closed 1 year ago

RauchLukas commented 1 year ago

Checklist

My Question

Hey,

I experience the error that the log_train files in the ./logs folder are all empty.

I have tried the scripts/run_pipeline.py and the simple example from the tutorial for both datasets: 1. SemanticKITTI and 2. S3DIS. Each time the same.

The files are created with the correct data coding in each step. But then they are empty. At least checkpeoints are written.

I tested this directly with the pip install open3d package and with the open3d-ml rep from github.

Anyone encountered this issue and can help? I was wondering if this is only a config issue, but if this is the case, why is the log file written at all.

<- Happy about any tips.

Cheeres Lukas

RauchLukas commented 1 year ago

Okay, Sorry.

Looks like importing logging and changing the log level helped to display more information in the console and log the mIOU and ACC to the kog file.

import logging
logging.basicConfig(level=logging.INFO)