Skip to content

Commit

Permalink
Ignore UserWarning, cf. facebookresearch/detectron2#3983
Browse files Browse the repository at this point in the history
  • Loading branch information
acerioni authored and cleherny committed Sep 15, 2023
1 parent 2ddeb7c commit 37864bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/make_predictions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env python
# coding: utf-8

import warnings
warnings.simplefilter(action='ignore', category=UserWarning)

import os, sys
import argparse
import json, yaml
Expand Down

0 comments on commit 37864bf

Please sign in to comment.