Browse Source

Merge branch 'master' into patch-1

Jason Antic 6 năm trước cách đây
mục cha
commit
96823f8272
2 tập tin đã thay đổi với 542 bổ sung4 xóa
  1. 534 0
      DeOldify_colab.ipynb
  2. 8 4
      README.md

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 534 - 0
DeOldify_colab.ipynb


+ 8 - 4
README.md

@@ -1,6 +1,10 @@
 # DeOldify
 
-Simply put, the mission of this project is to colorize and restore old images.  I'll get into the details in a bit, but first let's get to the pictures!  BTW – most of these source images originally came from the [r/TheWayWeWere subreddit](https://www.reddit.com/r/TheWayWeWere), so credit to them for finding such great photos.
+
+**NEW!** Try out colorization here on Colab:  https://colab.research.google.com/github/mc-robinson/DeOldify/blob/master/DeOldify_colab.ipynb .  Huge thanks to Matt Robinson.
+
+Simply put, the mission of this project is to colorize and restore old images.  I'll get into the details in a bit, but first let's get to the pictures!  BTW – most of these source images originally came from the r/TheWayWeWere subreddit, so credit to them for finding such great photos.
+
 
 #### Some of many results - These are pretty typical!
 
@@ -102,10 +106,10 @@ So that's the gist of this project – I'm looking to make old photos look reeee
 Oh and I swear I'll document the code properly...eventually.  Admittedly I'm *one of those* people who believes in "self documenting code" (LOL).
 
 ### Getting Started Yourself
-This project is built around the wonderful Fast.AI library.  Unfortunately, it's the -old- version and I have yet to upgrade it to the new version.  (That's definitely on the agenda.)  
+The easest way to get started is to simply try out colorization here on Colab:  https://colab.research.google.com/github/mc-robinson/DeOldify/blob/master/DeOldify_colab.ipynb .  This was contributed by Matt Robinson, and it's simply awesome.
 
-So prereqs, in summary:
-* ***Old* Fast.AI library** [**UPDATE 11/7/2018**] Easiest thing to do in my mind is just to take the `fastai/fastai` folder and drop it in the root of this project, right next to `fasterai`'s folder. Just today, I found this thread on installing `fast.ai` 0.7. This is probably your best resource on this subject!  https://forums.fast.ai/t/fastai-v0-7-install-issues-thread/24652 .  Do this first, this will take you most of the way, including dependencies.
+This project is built around the wonderful Fast.AI library.  Unfortunately, it's the -old- version and I have yet to upgrade it to the new version.  (That's definitely on the agenda.)  So prereqs, in summary:
+* ***Old* Fast.AI library** [**UPDATE 11/7/2018**] Easiest thing to do in my mind is just to take the fastai/fastai folder and drop it in the root of this project, right next to fasterai's folder. Just today, I found this thread on installing fast.ai 0.7-  This is probably your best resource on this subject!  https://forums.fast.ai/t/fastai-v0-7-install-issues-thread/24652 .  Do this first- this will take you most of the way, including dependencies.
 * **Pytorch 0.4.1** (needs spectral_norm, so  latest stable release is needed). https://pytorch.org/get-started/locally/
 * **Jupyter Lab** `conda install -c conda-forge jupyterlab`
 * **Tensorboard** (i.e. install Tensorflow) and **TensorboardX** (https://github.com/lanpa/tensorboardX).  I guess you don't *have* to but man, life is so much better with it.  And I've conveniently provided hooks/callbacks to automatically write all kinds of stuff to tensorboard for you already!  The notebooks have examples of these being instantiated (or commented out since I didn't really need the ones doing histograms of the model weights).  Noteably, progress images will be written to Tensorboard every 200 iterations by default, so you get a constant and convenient look at what the model is doing.  `conda install -c anaconda tensorflow-gpu` 

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác