JonasSchult / Mask3D

Mask3D predicts accurate 3D semantic instances achieving state-of-the-art on ScanNet, ScanNet200, S3DIS and STPLS3D.
MIT License
525 stars 103 forks source link

fix the SyntaxWarning in trainer.py #132

Open FatemehTarashi opened 11 months ago

FatemehTarashi commented 11 months ago

The line assert(False, 'class not known!') is always true because the parentheses make Python interpret it as a tuple, which is always true when non-empty. I removed the parentheses to make it work.