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

在自己的数据集上训练出现问题 #37

Closed
ygren opened this issue Sep 3, 2018 · 0 comments
Closed

在自己的数据集上训练出现问题 #37

ygren opened this issue Sep 3, 2018 · 0 comments

Comments

@ygren
Copy link

ygren commented Sep 3, 2018

Loading base network...
Initializing weights...
Loading Dataset...
Training RFB_vgg on VOC2007
1
2
训练过程,进行定位一直在这个位置,

load train data

    print('2')
    images, targets = next(batch_iterator)
    
    #print(np.sum([torch.sum(anno[:,-1] == 2) for anno in targets]))

    if args.cuda:
        images = Variable(images.cuda())
        targets = [Variable(anno.cuda()) for anno in targets]
    else:
        images = Variable(images)
        targets = [Variable(anno) for anno in targets]

请问一下这是什么原因呢?

@ygren ygren closed this as completed Sep 3, 2018
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

1 participant