조현아

tz utc+9

......@@ -98,8 +98,10 @@ def concat_image_features(image, features, max_features=3):
def get_model_name(args):
from datetime import datetime
now = datetime.now()
from datetime import datetime, timedelta, timezone
now = datetime.now(timezone.utc)
tz = timezone(timedelta(hours=9))
now = now.astimezone(tz)
date_time = now.strftime("%B_%d_%H:%M:%S")
model_name = '__'.join([date_time, args.network, str(args.seed)])
return model_name
......