You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I encounter the following error when running tools/train.py with a custom folder dataset and transform_config: null set in the config.
Traceback (most recent call last):
File "tools/train.py", line 71, in <module>
train()
File "tools/train.py", line 54, in train
datamodule = get_datamodule(config)
File "/anomalib/anomalib/data/__init__.py", line 83, in get_datamodule
transform_config_train=config.dataset.transform_config.train,
AttributeError: 'NoneType' object has no attribute 'train'
@LukasBommes, it's due to the changes made in PR #168. Train and validation augmentations are now split. As @alexriedel1 said, configs has been modified as follows:
Currently, I encounter the following error when running
tools/train.py
with a custom folder dataset andtransform_config: null
set in the config.The config is as follows:
Where the rest corresponds to the default Padim config.
The text was updated successfully, but these errors were encountered: