MCPcopy Create free account
hub / github.com/OpenGVLab/InternVL / obsolete_torch_version

Function obsolete_torch_version

classification/main.py:51–52  ·  view source on GitHub ↗
(torch_version, version_threshold)

Source from the content-addressed store, hash-verified

49
50
51def obsolete_torch_version(torch_version, version_threshold):
52 return torch_version == 'parrots' or torch_version <= version_threshold
53
54
55def parse_option():

Callers 3

train_one_epochFunction · 0.85
validate_realFunction · 0.85
validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected