Mask3D
Mask3D copied to clipboard
TypeError: print_exception() got an unexpected keyword argument 'etype' error in training s3dis
@JonasSchult I appreciate your work and support. When I train s3dis datasets with
python main_instance_segmentation.py
general.project_name="s3dis"
general.experiment_name="area1_pretrained_ms"
data.batch_size=4
data/datasets=s3dis
general.num_targets=14
data.num_labels=13
general.area=1
general.checkpoint="checkpoints/s3dis/scannet_pretrained/scannet_pretrained.ckpt"
trainer.check_val_every_n_epoch=10
optimizer.lr=0.00001
and I got the following errors.
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
ANTLR runtime and generated code versions disagree: 4.9.3!=4.8
/home/pub-7/anaconda3/envs/mask3d-soe/lib/python3.10/site-packages/lightning_fabric/utilities/seed.py:40: No seed found, seed set to 618238794
Seed set to 618238794
EXPERIMENT ALREADY EXIST
{'target': 'pytorch_lightning.loggers.WandbLogger', 'project': '${general.project_name}', 'name': '${general.experiment_name}', 'save_dir': '${general.save_dir}', 'entity': 'maythinzarsoe456', 'resume': 'allow', 'id': '${general.experiment_name}'}
wandb: Currently logged in as: maythinzarsoe456. Use wandb login --relogin
to force relogin
wandb: Tracking run with wandb version 0.15.12
wandb: Run data is saved locally in saved/area1_pretrained_mtzs/wandb/run-20231016_120000-area1_pretrained_mtzs
wandb: Run wandb offline
to turn off syncing.
wandb: Resuming run area1_pretrained_mtzs
wandb: ⭐️ View project at https://wandb.ai/maythinzarsoe456/s3dis
wandb: 🚀 View run at https://wandb.ai/maythinzarsoe456/s3dis/runs/area1_pretrained_mtzs
[2023-10-16 12:00:01,503][torch.distributed.nn.jit.instantiator][INFO] - Created a temporary directory at /tmp/tmp2s9pbryh
[2023-10-16 12:00:01,503][torch.distributed.nn.jit.instantiator][INFO] - Writing /tmp/tmp2s9pbryh/_remote_module_non_scriptable.py
Traceback (most recent call last):
File "/home/pub-7/anaconda3/envs/mask3d-soe/lib/python3.10/site-packages/hydra/_internal/utils.py", line 544, in _locate
import_module(mod)
File "/home/pub-7/anaconda3/envs/mask3d-soe/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/pub-7/anaconda3/envs/mask3d-soe/lib/python3.10/site-packages/hydra/utils.py", line 61, in call
type_or_callable = _locate(cls)
File "/home/pub-7/anaconda3/envs/mask3d-soe/lib/python3.10/site-packages/hydra/_internal/utils.py", line 546, in _locate
raise ImportError(
ImportError: Encountered error: module 'PIL.Image' has no attribute 'LINEAR'
when loading module 'models.matcher.HungarianMatcher'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/pub-7/anaconda3/envs/mask3d-soe/lib/python3.10/site-packages/hydra/_internal/utils.py", line 198, in run_and_report
return func()
File "/home/pub-7/anaconda3/envs/mask3d-soe/lib/python3.10/site-packages/hydra/_internal/utils.py", line 347, in module 'PIL.Image' has no attribute 'LINEAR'
when loading module 'models.matcher.HungarianMatcher'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pub-7/msoe/Mask3D-main/main_instance_segmentation.py", line 114, in
That would save me alot if you could guide me how to solved this?
Are you OK now?
bro i a faced the same question and find the solution in this page https://github.com/facebookresearch/detectron2/issues/5010 in this method