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 committed May 25, 2023
1 parent b17d22d commit fb49467
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 fb49467

Please sign in to comment.