Skip to content

Missing network "shufflenetg2" and trained network weights: ./checkpoint/%s/ckpt.t7 #3

@scc-zju

Description

@scc-zju

I can't find some networks, such as "shufflenetg2", and trained network weights: ./checkpoint/%s/ckpt.t7.
Could you provide the code with necessary files, which can be excuted successfully? Thanks.
I fixed some bugs, but it still can't run.

Namespace(adv=1, base_channels=96, base_lr=0.2, batch_size=128, d_lr=0.1, depth=26, epochs=1800, eta='[1,1,1,1,1]', fc_out=1, gamma='[1,1,1,1,1]', gpu_id='0', loss='ce', lr=0.1, lr_min=0, momentum=0.9, name=None, nesterov=True, num_workers=7, out_dims='[5000,1000,500,200,10]', out_layer='[-1]', outdir='results', pool_out='max', resume=False, seed=17, shake_backward=True, shake_forward=True, shake_image=True, student='resnet18', teacher_eval=0, teachers="['resnet18']", weight_decay=0.0001)
==> Preparing data..
Files already downloaded and verified
Files already downloaded and verified
==> Training resnet18
==> Building model..
Traceback (most recent call last):
File "main.py", line 164, in
teachers, student = get_model(args, config, device="cuda")
File "MEAL/utils.py", line 173, in get_model
checkpoint = torch.load('./checkpoint/%s/ckpt.t7' % teacher.name)
File "py3torch041/lib/python3.5/site-packages/torch/serialization.py", line 356, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: './checkpoint/resnet18/ckpt.t7'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions