Commit Graph
8 Commits
Author SHA1 Message Date
Gareth Davidson dff82b6d2e Remove execution bit
All the files marked as executable were bugging me, so I ran this:

find . -executable -type f -print0 | xargs -0 grep -L '#!' | xargs chmod -x
2022-09-19 08:50:00 +01:00
Jason Antic d5a716bd5a Getting rid of Docker support; youtube_dl -> yt_dlp; fixing installation 2022-07-08 20:14:25 -07:00
Jason Antic 6422160a0e Fixing sloppy imports and syntax errors 2021-12-13 09:33:57 -08:00
Jason Antic 4969dfa11d Fixing a few bugs and cleaning up new post_process/stats parameterizations 2020-03-26 16:24:05 -07:00
AIEMMU 0d129fc9ed add ability to add your own stats not just imagenet_stats to the dataloader and filter. Also allowing the user to get the image before it is preprocessed. 2020-03-26 10:26:11 +00:00
Alexandre Vicenzi 6c6e2ee6e4 Remove default loss function from generators
If the loss function is set as a default argument it will be loaded even
if not used, which is not desired.

FeatureLoss is used only for training, but was being loaded also for
inference, using a little more memory than required due VGG16 features.

This will not cause any harm because training and inference usage always
set gen_loss argument.
2019-10-28 23:27:51 +01:00
Alexandre Vicenzi 3fb4956fdd Refactor and cleanup
Black was used to format the code as well some pylint issues where
fixed.
2019-10-19 14:31:49 +02:00
Alexandre Vicenzi 547fb7e56f pypi: rename fasterai to deoldify
It will be better to do:

    from deoldify import visualize

Than:

    from fasterai import visualize

The PyPI package will be called DeOldify, in this case
it makes more sense to have an import name that matches
the package name.

Also, fasterai resembles fastai library, and DeOldify
is not a library to use with fastai, it's built on
top of it.
2019-08-20 21:22:00 +02:00