Skip to content

Export in the wrong place ? #114

Description

@Cdk29

I am not 100 % sure it is a bug.

Running code from here : https://github.com/Cdk29/Cassava/blob/main/Xresnet.md

Particularly :

I create the learner using :

learnR <- dataloader %>% cnn_learner(xresnet50(), metrics = accuracy(), model_dir="Xresnet_files/") #prettier

But fastai export it elsewhere :

erolland@erolland-GL75-9SE:~/Bureau$ locate xresnet_50.pkl

/home/erolland/Bureau/Cassava/cassava-leaf-disease-classification/train_images/xresnet_50.pkl

I am not sure but I don't think it is the normal behavior of the export of fastai to use the directory of the training set and not the model_dir to export its model.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions