Skip to content

Missing Pre-trained Models for CIFAR Datasets (VGG8, ResNet18, DenseNet40) in 2DInferenceV1.5 Branch #2

@talha36292

Description

@talha36292

Dear NeuroSim Developers,

I am attempting to run the pre-trained model examples in the 2DInferenceV1.5 branch, following the instructions in the README.md.

I have successfully cloned the repository and set up the neurosim conda environment. I have also confirmed that the CIFAR-100 dataset downloads successfully when specified to a user-writable path.

However, I am consistently encountering FileNotFoundError when the script tries to load the pre-trained models listed in the README.md as "included":

VGG8 on CIFAR-10:

README.md states: "8-bit "WAGE" mode pretrained model is uploaded to './log/VGG8.pth'"
Error received when attempting to run the example: FileNotFoundError: [Errno 2] No such file or directory: './log/VGG8.pth'
I've confirmed that the ./log/ directory does not exist in the cloned repository.
ResNet18 on CIFAR-100:

README.md states: "Includes pre-trained models (..., ResNet18 for CIFAR-100)"
Error received when attempting to run the example: FileNotFoundError: [Errno 2] No such file or directory: './models/resnet18_cifar100.pth'
I also checked the README.md files for the 2DInferenceV1.4 and 2DInferenceV1.3 branches, and they contain similar statements about VGG8 and DenseNet40 models being in ./log/, implying the issue might exist across these versions as well.

Could you please provide guidance on where the correct, compatible pre-trained .pth files for these models (VGG8 for CIFAR-10, ResNet18 for CIFAR-100, and potentially DenseNet40 for CIFAR-10) can be downloaded, or confirm if they are intended to be part of the repository structure?

Thank you for your time and assistance.

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