You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python 3.7
shapely 1.7.1
I can run train.py
when i run test.py
File "G:\practice\SiamFC\siamfc-pytorch-master\tools\test.py", line 8, in
from got10k.experiments import ExperimentGOT10k
File "E:\anaconda\1\lib\site-packages\got10k\experiments_init_.py", line 3, in
from .got10k import ExperimentGOT10k
File "E:\anaconda\1\lib\site-packages\got10k\experiments\got10k.py", line 14, in
from ..utils.metrics import rect_iou
File "E:\anaconda\1\lib\site-packages\got10k\utils\metrics.py", line 4, in
from shapely.geometry import box, Polygon
File "E:\anaconda\1\lib\site-packages\shapely\geometry_init_.py", line 23, in
import shapely.speedups
File "E:\anaconda\1\lib\site-packages\shapely\speedups_init_.py", line 99, in
enable()
File "E:\anaconda\1\lib\site-packages\shapely\speedups_init_.py", line 74, in enable
affine_transform.doc = shapely.affinity.affine_transform.doc
AttributeError: module 'shapely' has no attribute 'affinity'
The text was updated successfully, but these errors were encountered:
python 3.7
shapely 1.7.1
I can run train.py
when i run test.py
File "G:\practice\SiamFC\siamfc-pytorch-master\tools\test.py", line 8, in
from got10k.experiments import ExperimentGOT10k
File "E:\anaconda\1\lib\site-packages\got10k\experiments_init_.py", line 3, in
from .got10k import ExperimentGOT10k
File "E:\anaconda\1\lib\site-packages\got10k\experiments\got10k.py", line 14, in
from ..utils.metrics import rect_iou
File "E:\anaconda\1\lib\site-packages\got10k\utils\metrics.py", line 4, in
from shapely.geometry import box, Polygon
File "E:\anaconda\1\lib\site-packages\shapely\geometry_init_.py", line 23, in
import shapely.speedups
File "E:\anaconda\1\lib\site-packages\shapely\speedups_init_.py", line 99, in
enable()
File "E:\anaconda\1\lib\site-packages\shapely\speedups_init_.py", line 74, in enable
affine_transform.doc = shapely.affinity.affine_transform.doc
AttributeError: module 'shapely' has no attribute 'affinity'
The text was updated successfully, but these errors were encountered: