MCPcopy Create free account
hub / github.com/BICLab/SpikeYOLO / get

Method get

ultralytics/utils/__init__.py:179–181  ·  view source on GitHub ↗

Return the value of the specified key if it exists; otherwise, return the default value.

(self, key, default=None)

Source from the content-addressed store, hash-verified

177 """)
178
179 def get(self, key, default=None):
180 """Return the value of the specified key if it exists; otherwise, return the default value."""
181 return getattr(self, key, default)
182
183
184def plt_settings(rcparams=None, backend='Agg'):

Callers 15

coco2yolo.pyFile · 0.45
get_cpu_infoFunction · 0.45
select_deviceFunction · 0.45
model_infoFunction · 0.45
strip_optimizerFunction · 0.45
plot_imagesFunction · 0.45
__init__Method · 0.45
is_kaggleFunction · 0.45
check_disk_spaceFunction · 0.45
get_github_assetsFunction · 0.45
_tuneFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected