The fastai deep learning library
381 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | nbs/dltest.py | 1 | |
| LOW | nbs/dltest.py | 2 | |
| LOW | nbs/examples/distrib.py | 1 | |
| LOW | nbs/examples/distrib.py | 2 | |
| LOW | nbs/examples/distrib.py | 3 | |
| LOW | nbs/examples/dataloader_spawn.py | 4 | |
| LOW | nbs/examples/train_imdbclassifier.py | 1 | |
| LOW | nbs/examples/train_imdbclassifier.py | 2 | |
| LOW | nbs/examples/train_imdbclassifier.py | 3 | |
| LOW | nbs/examples/train_imdbclassifier.py | 5 | |
| LOW | nbs/examples/train_imdbclassifier.py | 6 | |
| LOW | nbs/examples/train_imdbclassifier.py | 7 | |
| LOW | nbs/examples/train_imagenette.py | 1 | |
| LOW | nbs/examples/train_imagenette.py | 2 | |
| LOW | nbs/examples/train_imagenette.py | 3 | |
| LOW | nbs/examples/train_imagenette.py | 4 | |
| LOW | nbs/examples/train_imagenette.py | 6 | |
| LOW | nbs/examples/train_imagenette.py | 7 | |
| LOW | nbs/examples/train_imagenette.py | 8 | |
| LOW | nbs/examples/train_imagenette.py | 9 | |
| LOW | nbs/examples/mnist_items.py | 1 | |
| LOW | nbs/examples/mnist_blocks.py | 1 | |
| LOW | nbs/examples/train_wt2.py | 1 | |
| LOW | nbs/examples/train_wt2.py | 2 | |
| LOW | nbs/examples/train_wt2.py | 3 | |
| LOW | nbs/examples/train_wt2.py | 4 | |
| LOW | nbs/examples/distrib_pytorch.py | 1 | |
| LOW | nbs/examples/distrib_pytorch.py | 2 | |
| LOW | nbs/examples/train_tabular.py | 1 | |
| LOW | nbs/examples/train_tabular.py | 2 | |
| LOW | nbs/examples/train_tabular.py | 3 | |
| LOW | nbs/examples/train_tabular.py | 4 | |
| LOW | nbs/examples/train_tabular.py | 6 | |
| LOW | nbs/examples/train_tabular.py | 7 | |
| LOW | nbs/examples/migrating_fastai.py | 1 | |
| LOW | fastai/torch_imports.py | 1 | |
| LOW | fastai/torch_imports.py | 2 | |
| LOW | fastai/torch_imports.py | 3 | |
| LOW | fastai/torch_imports.py | 3 | |
| LOW | fastai/torch_imports.py | 3 | |
| LOW | fastai/torch_imports.py | 3 | |
| LOW | fastai/torch_imports.py | 3 | |
| LOW | fastai/torch_imports.py | 3 | |
| LOW | fastai/torch_imports.py | 3 | |
| LOW | fastai/torch_imports.py | 4 | |
| LOW | fastai/torch_imports.py | 5 | |
| LOW | fastai/torch_imports.py | 6 | |
| LOW | fastai/torch_imports.py | 6 | |
| LOW | fastai/torch_imports.py | 6 | |
| LOW | fastai/torch_imports.py | 6 | |
| LOW | fastai/torch_imports.py | 7 | |
| LOW | fastai/torch_imports.py | 7 | |
| LOW | fastai/torch_imports.py | 8 | |
| LOW | fastai/torch_imports.py | 8 | |
| LOW | fastai/metrics.py | 18 | |
| LOW | fastai/metrics.py | 19 | |
| LOW | fastai/metrics.py | 20 | |
| LOW | fastai/test_utils.py | 12 | |
| LOW | fastai/test_utils.py | 13 | |
| LOW | fastai/test_utils.py | 14 | |
| 284 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | fastai/fp16_utils.py | 121 | print("Error in prep_param_lists: model may contain a mixture of parameters " |
| LOW | fastai/vision/utils.py | 37 | except Exception as e: f"Couldn't download {url}." |
| LOW | fastai/medical/imaging.py | 385 | except Exception as e: |
| LOW | fastai/callback/wandb.py | 70 | except Exception as e: |
| LOW | fastai/callback/wandb.py | 107 | except Exception as e: |
| LOW | fastai/callback/wandb.py | 130 | except Exception as e: |
| MEDIUM | fastai/callback/wandb.py | 124 | def log_predictions(self): |
| LOW | fastai/callback/hook.py | 100 | except Exception as e: |
| LOW | fastai/callback/core.py | 65 | except Exception as e: raise modify_exception(e, f'Exception occured in `{self.__class__.__name__}` when cal |
| LOW | fastai/data/core.py | 107 | except Exception as e: |
| LOW | fastai/data/block.py | 182 | except Exception as e: |
| LOW | fastai/data/block.py | 236 | except Exception as e: |
| LOW | fastai/data/load.py | 183 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | nbs/examples/train_imagenette.py | 39 | |
| LOW | fastai/metrics.py | 421 | |
| LOW | fastai/torch_core.py | 531 | |
| LOW | fastai/fp16_utils.py | 137 | |
| LOW | fastai/learner.py | 451 | |
| LOW | fastai/text/learner.py | 174 | |
| LOW | fastai/callback/wandb.py | 53 | |
| LOW | fastai/data/load.py | 71 | |
| LOW | fastai/data/load.py | 158 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fastai/interpret.py | 164 | def print_classification_report(self): |
| LOW | fastai/fp16_utils.py | 137 | def model_grads_to_master_grads(model_params, master_params, flat_master=False): |
| LOW | fastai/fp16_utils.py | 159 | def master_params_to_model_params(model_params, master_params, flat_master=False): |
| LOW | fastai/vision/utils.py | 19 | def _get_downloaded_image_filename(dest, name, suffix): |
| LOW | fastai/callback/tensorboard.py | 101 | def _write_projector_embedding(learn, writer, feat): |
| LOW | fastai/callback/tensorboard.py | 137 | def projector_word_embeddings(learn=None, layer=None, vocab=None, limit=-1, start=0, log_dir=None): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fastai/callback/wandb.py | 55 | # Check if wandb.init has been called |
| LOW | fastai/callback/wandb.py | 230 | # Check if wandb.init has been called in case datasets are logged manually |
| LOW | fastai/callback/fp16.py | 211 | # Check if it's been long enough without overflow |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | fastai/tabular/data.py | 24 | cat_names:list=None, # Column names pertaining to categorical variables |
| MEDIUM | fastai/tabular/data.py | 25 | cont_names:list=None, # Column names pertaining to continuous variables |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | fastai/interpret.py | 132 | # This function is mainly copied from the sklearn docs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fastai/vision/gan.py | 241 | # "Show a sample image." |
| LOW | fastai/callback/schedule.py | 21 | def __init__(self, f, start, end): store_attr('f,start,end') |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fastai/data/block.py | 84 | _msg = "If you wanted to compose several transforms in your getter don't forget to wrap them in a `Pipeline`." |