Skip to content

Training issue #6

@suyu-star

Description

@suyu-star

Hi,
Thank you for your great work!

I perform training and validation simultaneously, an error arises in GeometryHistoryFusion.

https://github.com/cdb342/GDFusion/blob/main/mmdet3d/models/alocc/modules/temporal_fusion.py

        if sum(start_of_sequence)>0:
            self.iter[start_of_sequence]=0

        assert (self.history_seq_ids != seq_ids)[~start_of_sequence].sum() == 0, \
            "{}, {}, {}".format(self.history_seq_ids, seq_ids, start_of_sequence)

It is possible that during validation, the batch size (bs) of seq_ids and start_of_sequence is 1, while the leftover historical information has a batch size equal to our configured bs. When these batch sizes do not match, an error occurs. How should this be handled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions