We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
in_chans
1 parent 63ee548 commit 40d55abCopy full SHA for 40d55ab
timm/data/config.py
@@ -21,7 +21,9 @@ def resolve_data_config(
21
22
# Resolve input/image size
23
in_chans = 3
24
- if args.get('chans', None) is not None:
+ if args.get('in_chans', None) is not None:
25
+ in_chans = args['in_chans']
26
+ elif args.get('chans', None) is not None:
27
in_chans = args['chans']
28
29
input_size = (in_chans, 224, 224)
0 commit comments