MAFAT Satellite Vision Challenge Forum

Go back to competition Back to thread list Post in this thread

> colab baseline error

ValueError Traceback (most recent call last)
<ipython-input-28-52b1e0385e04> in <module>
35 # Create work_dir
36 mmcv.mkdir_or_exist(osp.abspath(cfg.work_dir))
---> 37 train_detector(model, datasets, cfg, distributed=False, validate=False)
38 # train_detector(model, datasets, cfg, distributed=False, validate=True) # doesn't work in colab

10 frames
/usr/local/lib/python3.8/dist-packages/mmdet/datasets/samplers/group_sampler.py in __iter__(self)
34 [indice, np.random.choice(indice, num_extra)])
35 indices.append(indice)
---> 36 indices = np.concatenate(indices)
37 indices = [
38 indices[i * self.samples_per_gpu:(i + 1) * self.samples_per_gpu]

<__array_function__ internals> in concatenate(*args, **kwargs)

ValueError: need at least one array to concatenate

Posted by: flydragon2023 @ Feb. 14, 2023, 1:22 a.m.

can not download the full dataset.

Posted by: flydragon2023 @ Feb. 14, 2023, 2:22 a.m.

Hi,

Please specify as many details as possible about the error and your environment.
for example: platform (colab, kaggle, local, etc,.), python version, dataset (full\partial), relevant packages version.

Shai,
MAFAT Challenge Team

Posted by: MAFAT_Challenge @ Feb. 14, 2023, 1:30 p.m.
Post in this thread