WongKinYiu / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
GNU General Public License v3.0
13.45k stars 4.23k forks source link

There was an error running the detect #225

Open TakeCrown opened 2 years ago

TakeCrown commented 2 years ago

Traceback (most recent call last): File "/PaperReproduction/yolov7-main/detect.py", line 10, in from models.experimental import attempt_load File "/PaperReproduction/yolov7-main/models/experimental.py", line 5, in from models.common import Conv, DWConv File "/PaperReproduction/yolov7-main/models/common.py", line 6, in import pandas as pd File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/pandas/init.py", line 22, in from pandas.compat import is_numpy_dev as _is_numpy_dev File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/pandas/compat/init.py", line 15, in from pandas.compat.numpy import ( File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/pandas/compat/numpy/init.py", line 4, in from pandas.util.version import Version File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/pandas/util/init.py", line 1, in from pandas.util._decorators import ( # noqa:F401 File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/pandas/util/_decorators.py", line 14, in from pandas._libs.properties import cache_readonly # noqa:F401 File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/pandas/_libs/init.py", line 13, in from pandas._libs.interval import Interval File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval File "pandas/_libs/hashtable.pyx", line 1, in init pandas._libs.hashtable File "pandas/_libs/missing.pyx", line 1, in init pandas._libs.missing File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/pandas/_libs/tslibs/init.py", line 30, in from pandas._libs.tslibs.conversion import ( File "pandas/_libs/tslibs/conversion.pyx", line 1, in init pandas._libs.tslibs.conversion File "pandas/_libs/tslibs/timezones.pyx", line 43, in init pandas._libs.tslibs.timezones File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/dateutil/tz/tz.py", line 1557, in call rv = self.nocache(name=name) File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/dateutil/tz/tz.py", line 1655, in nocache tz = get_zonefile_instance().get(name) File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/dateutil/zoneinfo/init.py", line 102, in get_zonefile_instance zif = ZoneInfoFile(getzoneinfofile_stream()) File "/opt/conda/envs/Lemon/lib/python3.9/site-packages/dateutil/zoneinfo/init.py", line 33, in init with TarFile.open(fileobj=zonefile_stream) as tf: File "/opt/conda/envs/Lemon/lib/python3.9/tarfile.py", line 1625, in open raise ReadError("file could not be opened successfully") tarfile.ReadError: file could not be opened successfully

hby4290 commented 2 years ago

The file cannot be opened because of a conflict in the interal

TakeCrown commented 2 years ago

The file cannot be opened because of a conflict in the interal thanks,but what should I do to reslove this error

hby4290 commented 2 years ago

you just cloned yolov7 on linux or moved from windows to linux? if you moved, maybe the file integrity have some problem

TakeCrown commented 2 years ago

you just cloned yolov7 on linux or moved from windows to linux? if you moved, maybe the file integrity have some problem

yes,I just clone yolov7 to my mac then upload to the linux

hby4290 commented 2 years ago

maybe that is the point, just try to clone yolov7 to linux not mac

TakeCrown commented 2 years ago

maybe that is the point, just try to clone yolov7 to linux not mac

ok,thanks