open-mmlab / mmrotate

OpenMMLab Rotated Object Detection Toolbox and Benchmark
https://mmrotate.readthedocs.io/en/latest/
Apache License 2.0
1.89k stars 560 forks source link

where can I set seed value for the rtmdet model in mmrotate to reproduce the running results? #933

Open hhui92 opened 1 year ago

hhui92 commented 1 year ago

Model/Dataset/Scheduler description

System environment: sys.platform: linux Python: 3.8.10 (default, Jun 4 2021, 15:09:15) [GCC 7.5.0] CUDA available: True _numpy_randomseed: 914675091 GPU 0: NVIDIA GeForce RTX 3090 CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 11.8, V11.8.89 GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 PyTorch: 2.0.0+cu118 PyTorch compiling details: PyTorch built with:

Runtime environment: cudnn_benchmark: False mp_cfg: {'mp_start_method': 'fork', 'opencv_num_threads': 0} dist_cfg: {'backend': 'nccl'} seed: 914675091 Distributed launcher: none Distributed training: False GPU number: 1

Open source status

Provide useful links for the implementation

No response

promisekoloer commented 8 months ago

You can directly add this "randomness = dict(seed=268752307)" in your Config.py. It succeeds print Runtime environment: cudnn_benchmark: False mp_cfg: {'mp_start_method': 'fork', 'opencv_num_threads': 0} dist_cfg: {'backend': 'nccl'} seed: 268752307 Distributed launcher: none Distributed training: False GPU number: 1