Coder Social home page Coder Social logo

resume卡住 about mmsegmentation HOT 8 OPEN

zdk258 avatar zdk258 commented on August 19, 2024
resume卡住

from mmsegmentation.

Comments (8)

chtzs avatar chtzs commented on August 19, 2024 2

After checking source code of mmengine, I found that they just called next to skip training data:
in mmenging\runner\loops.py IterBasedTrainLoop

        if self._iter > 0:
            print_log(
                f'Advance dataloader {self._iter} steps to skip data '
                'that has already been trained',
                logger='current',
                level=logging.WARNING)
            for _ in range(self._iter):
                next(self.dataloader_iterator)

In other words, "-- resume" will load data like regular training, but discard all of this data before reaching the specified iteration. Therefore, the time required for resuming will not be much faster than starting a new training session.

from mmsegmentation.

ShenZheng2000 avatar ShenZheng2000 commented on August 19, 2024 2

I discovered that using a lower version of mmengine helps resolve the issue. For example:

mim install mmengine==0.10.2

from mmsegmentation.

chtzs avatar chtzs commented on August 19, 2024 2

I think this is the cause of the problem. Here's the PR. open-mmlab/mmengine#1471

from mmsegmentation.

ShenZheng2000 avatar ShenZheng2000 commented on August 19, 2024

Same Question.

from mmsegmentation.

ShenZheng2000 avatar ShenZheng2000 commented on August 19, 2024

@chtzs Thanks!

from mmsegmentation.

Saillxl avatar Saillxl commented on August 19, 2024

@chtzs Thanks!

I don't understand how to solve it,can you tell me?Extremely thanks!

from mmsegmentation.

Outlying3720 avatar Outlying3720 commented on August 19, 2024

@chtzs Thanks!

I don't understand how to solve it,can you tell me?Extremely thanks!

Just comment out these lines.

from mmsegmentation.

chtzs avatar chtzs commented on August 19, 2024

@chtzs Thanks!

I don't understand how to solve it,can you tell me?Extremely thanks!

@Saillxl Solution could be found in this issue:open-mmlab/mmengine#1520

from mmsegmentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.