[Fix]: add cfg.device in colab tutorial to compat the most recent mmdet (#9112)

pull/9185/head
wanghonglie 3 years ago committed by GitHub
parent f70164d2c6
commit a12be714e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      demo/MMDet_Tutorial.ipynb

@ -1509,6 +1509,7 @@
"# Set seed thus the results are more reproducible\n",
"cfg.seed = 0\n",
"set_random_seed(0, deterministic=False)\n",
"cfg.device = 'cuda'\n",
"cfg.gpu_ids = range(1)\n",
"\n",
"# We can also use tensorboard to log the training process\n",

Loading…
Cancel
Save