Skip to content

Issue when Testing ResNet on own dataset #651

Closed
@mellou01

Description

@mellou01

I have changed the number of classes from 1000 to 19 which is the number of classes of my data set and I am getting the error RuntimeError: size mismatch at /opt/conda/conda-bld/libtorch-gpu_1493847960390/work/pytorch-0.1.12/torch/lib/THC/generic/THCTensorMathBlas.cu:243

Training crop size : 224
I have resized my images to 512*512
any Ideas in order to adapt the already provided model ResNet to my own dataset

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