For compatibility
This commit is contained in:
parent
d1c53c428a
commit
3663ef1137
|
@ -69,6 +69,8 @@ parser.add_argument('--ext', dest='ext', type=str, default='mp4', help='vid_out
|
|||
parser.add_argument('--exp', dest='exp', type=int, default=1)
|
||||
args = parser.parse_args()
|
||||
assert (not args.video is None or not args.img is None)
|
||||
if args.UHD and args.scale==1.0:
|
||||
args.scale = 0.5
|
||||
assert args.scale in [0.25, 0.5, 1.0, 2.0, 4.0]
|
||||
if not args.img is None:
|
||||
args.png = True
|
||||
|
|
Loading…
Reference in New Issue