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

Where is the classic models code? #3

Open
LuisOtavioSantos opened this issue Oct 31, 2024 · 0 comments
Open

Where is the classic models code? #3

LuisOtavioSantos opened this issue Oct 31, 2024 · 0 comments

Comments

@LuisOtavioSantos
Copy link

LuisOtavioSantos commented Oct 31, 2024

Hi,

Congratulations for the amazing project!

Could you provide the function classic_models.find_model_using_name

Could you provide alexnet.py and all classic models used?

from .alexnet import alexnet
from .vggnet import vgg11, vgg13, vgg16, vgg19
from .zfnet import zfnet
from .googlenet_v1 import googlenet
from .xception import xception
from .resnet import resnet34, resnet50, resnet101, resnext50_32x4d, resnext101_32x8d
from .densenet import densenet121, densenet161, densenet169, densenet201

import os
import argparse
import math
import shutil
import random
import numpy as np
import torch
import torch.optim as optim
from torch.utils.tensorboard import SummaryWriter
from torchvision import transforms
import torch.optim.lr_scheduler as lr_scheduler

from SCKansformer import classic_models
from SCKansformer.utils.lr_methods import warmup
from SCKansformer.dataload.dataload_five_flower import Five_Flowers_Load
from SCKansformer.utils.train_engin import train_one_epoch, evaluate


ModuleNotFoundError Traceback (most recent call last)
in <cell line: 13>()
11 import torch.optim.lr_scheduler as lr_scheduler
12
---> 13 from SCKansformer import classic_models
14 from SCKansformer.utils.lr_methods import warmup
15 from SCKansformer.dataload.dataload_five_flower import Five_Flowers_Load

/content/SCKansformer/classic_models/init.py in
----> 1 from .alexnet import alexnet
2 from .vggnet import vgg11, vgg13, vgg16, vgg19
3 from .zfnet import zfnet
4 from .googlenet_v1 import googlenet
5 from .xception import xception

ModuleNotFoundError: No module named 'SCKansformer.classic_models.alexnet'

Thanks in advance

Luis S.

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