Skip to content

Commit

Permalink
fix typo (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowZheng committed Jan 20, 2022
1 parent f3970b6 commit 573d79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmflow/utils/set_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def setup_multi_processes(cfg):
logger.info(f'OpenCV num_threads is `{opencv_num_threads}`')
cv2.setNumThreads(opencv_num_threads)
else:
logger.info(f'OpenCV num_threads is `{cv2.getNumThreads}')
logger.info(f'OpenCV num_threads is `{cv2.getNumThreads()}')

if cfg.data.train_dataloader.workers_per_gpu > 1:
# setup OMP threads
Expand Down

0 comments on commit 573d79c

Please sign in to comment.