Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python train_new.py , have a error .... targets = np.asarray([s[1] for s in self.samples]) AttributeError: 'TripletFolder' object has no attribute 'samples' #15

Open
LoeWHJ opened this issue Apr 2, 2020 · 1 comment

Comments

@LoeWHJ
Copy link

LoeWHJ commented Apr 2, 2020

No description provided.

@LoeWHJ LoeWHJ changed the title python train_new.py , have a error python train_new.py , have a error .... targets = np.asarray([s[1] for s in self.samples]) AttributeError: 'TripletFolder' object has no attribute 'samples' Apr 2, 2020
@layumi
Copy link
Owner

layumi commented Apr 6, 2020

Hi @LoeWHJ
You may consider to upgrade the torchvision from source.

git clone https://github.com/pytorch/vision
cd vision
python setup.py install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants