Open Michaelsqj opened 4 years ago
Thanks for the pull request! Could you please help solve the following problems:
run_chunk()
is called, there is no iter(self.dataloader)
, which means next(self.dataloader)
doesn't work at thetrain()
function. You may add iter(self.dataloader)
to run_chunk()
or make dataloader an iterator in build_dataloader()
.self.cfg.SOLVER.ITERATION_TOTAL = self.cfg.DATASET.DATA_CHUNK_ITER
is not valid. Maybe add a self.total_num_iters
to the Trainer? Then train()
and run_chunk()
need to be changed accordingly.
if the dataset is tile format, it will update and gets trained in run_chunk()