Simplify thop imports (#18717)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
c6dd277493
commit
daaebba220
5 changed files with 6 additions and 17 deletions
|
|
@ -839,7 +839,7 @@ class Results(SimpleClass):
|
|||
>>> df_result = results[0].to_df()
|
||||
>>> print(df_result)
|
||||
"""
|
||||
import pandas as pd
|
||||
import pandas as pd # scope for faster 'import ultralytics'
|
||||
|
||||
return pd.DataFrame(self.summary(normalize=normalize, decimals=decimals))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue