File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 66Hacked together by Ross Wightman (https://github.com/rwightman)
77"""
88import argparse
9- import os
109import csv
1110import json
12- import time
1311import logging
14- import torch
15- import torch .nn as nn
16- import torch .nn .parallel
12+ import time
1713from collections import OrderedDict
1814from contextlib import suppress
1915from functools import partial
2016
17+ import torch
18+ import torch .nn as nn
19+ import torch .nn .parallel
20+
21+ from timm .data import resolve_data_config
2122from timm .models import create_model , is_model , list_models
2223from timm .optim import create_optimizer_v2
23- from timm .data import resolve_data_config
2424from timm .utils import setup_default_logging , set_jit_fuser
2525
26-
2726has_apex = False
2827try :
2928 from apex import amp
You can’t perform that action at this time.
0 commit comments