set_random_seed_learn FlexibleRunner_learn 本部分内容学习mmengine中的runner目录 runner目录下的方法列表如下: 'BaseLoop', 'load_state_dict', 'get_torchvision_models', 'get_external_models', 'get_mmcls_models', 'get_deprecated_model_names', 'CheckpointLoader', 'load_checkpoint', 'weights_to_cp...
用户可以设置 Runner 的resume 参数开启自动恢复训练的功能。在启动训练时,设置 Runner 的resume 等于True,Runner 会从work_dir 中加载最新的 checkpoint。如果 work_dir 中有最新的 checkpoint(例如该训练在上一次训练时被中断),则会从该 checkpoint 恢复训练,否则(例如上一次训练还没来得及保存 checkpoint 或者启动了...
Translate "how to set random seed" by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/930 Fix typo by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/965 Fix typo in hook document by @acdart in https://github.com/open-mmlab/mmengine/pull/980 Fix changelog dat...
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.6, CUDNN_VERSION=8.3.2, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE...
26 self.dataloader = runner.build_dataloader( ---> 27 dataloader, seed=runner.seed, diff_rank_seed=diff_rank_seed) 28 else: /opt/conda/lib/python3.7/site-packages/mmengine/runner/runner.py in build_dataloader(dataloader, seed, diff_rank_seed) ...
numpy_random_seed: 2147483648 GPU 0,1: NVIDIA GeForce RTX 4090 CUDA_HOME: /usr/local/cuda-11.3 NVCC: Cuda compilation tools, release 11.3, V11.3.109 GCC: gcc (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026 PyTorch: 1.9.0+cu111
AttributeError: classEpochBasedTrainLoopin mmengine/runner/loops.py: classMultiImageMixDatasetin mmdet/datasets/dataset_wrappers.py: classCocoDatasetin mmdet/datasets/coco.py: 'str' object has no attribute 'items'#10159 Open hsp2454opened this issueApr 16, 2023· 4 comments ...