SwinTransformer/Transformer-SSL

AttributeError: TRAINING_IMAGES

Rocky1salady-killer opened this issue · 1 comments

Traceback (most recent call last):
File "main.py", line 347, in
main(config)
File "main.py", line 80, in main
model = build_model(config)
File "/home/featurize/work/STSL/models/build.py", line 65, in build_model
pred_num_layers=config.MODEL.MOBY.PRED_NUM_LAYERS,
File "/home/featurize/work/STSL/models/moby.py", line 77, in init
self.K = int(self.cfg.DATA.TRAINING_IMAGES * 1. / dist.get_world_size() / self.cfg.DATA.BATCH_SIZE) * self.cfg.TRAIN.EPOCHS
File "/environment/miniconda3/lib/python3.7/site-packages/yacs/config.py", line 141, in getattr
raise AttributeError(name)
AttributeError: TRAINING_IMAGES

hallo everone!How to solve this problem?

I also met this problem. How did you solve it?