Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
  • Loading branch information
JanuszL committed Oct 24, 2024
1 parent df2bdac commit e4a536e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/examples/use_cases/paddle/resnet50/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

import os
import sys
import copy
import argparse
import logging
Expand All @@ -23,6 +24,8 @@

_AUTO_LAST_EPOCH = "auto"

_true_set = {'yes', 'true', 't', 'y', '1'}
_false_set = {'no', 'false', 'f', 'n', '0'}

# based on https://github.com/symonsoft/str2bool/tree/master
# BSD3 license
Expand Down

0 comments on commit e4a536e

Please sign in to comment.