Skip to content

cannot import name 'int_classes' from 'torch._six' #272

@angaio

Description

@angaio

Hi:
when I run the example on win10,cuda10,the following errors occurs.
Does anyone have the same error?what's problem?

Traceback (most recent call last):
File "run_webcam.py", line 9, in
from pytracking.evaluation import Tracker
File "..\pytracking_init_.py", line 7, in
from pytracking.run_tracker import run_tracker
File "..\pytracking\run_tracker.py", line 9, in
from pytracking.evaluation import get_dataset
File "..\pytracking\evaluation_init_.py", line 1, in
from .data import Sequence
File "..\pytracking\evaluation\data.py", line 3, in
from ltr.data.image_loader import imread_indexed
File "..\ltr\data_init_.py", line 1, in
from .loader import LTRLoader
File "..\ltr\data\loader.py", line 5, in
from torch._six import string_classes, int_classes
ImportError: cannot import name 'int_classes' from 'torch._six'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions