Skip to content

Potenial ploting issue inside Rstudio #91

Description

@Cdk29

Hi again.

Running the following :

path_img = 'cassava-leaf-disease-classification/train_images/'
#library(data.table)
labels<-read_csv('cassava-leaf-disease-classification//train.csv')
head(labels)
dataloader <- fastai::ImageDataLoaders_from_df(df=labels, path=path_img, bs=8, seed=6,
                                               num_workers=0, 
                                               item_tfms = Resize(448),
                                               batch_tfms = aug_transforms(size=224, min_scale=0.75))
dataloader %>% show_batch()
learnR <- dataloader %>% cnn_learner(xresnet50(), metrics = accuracy,  model_dir="fastai_model/") #prettier
learnR$to_fp16()
learnR$freeze()
learnR %>% lr_find()
learnR %>% plot_lr_find(dpi = 200)

I can knit and got a md document with the graphs. However, running the cells of the rmarkdown document will not output anything below the line Or inside the plots panels. (while it will happen with keras for example).

I do not know for sure if this is a local config problem, or a change introduced by the commit 8594699.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions