question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Works on mac os, if setup is correct

See original GitHub issue

This is not an issue. I just wanted to confirm that this does run on mac os using CPU, installed with Anaconda and installing as per the instructions. As I only saw Linux mentioned in the docs I felt it would be good to mention it in case anyone searches for macOS. Testing on Big Sur and will test on Mojave later.

Installing with anaconda and the yaml file produced no errors and was fast. I set a custom env name with -n which was not in the docs, but just how I setup envs here to quickly enable and disable by name. I installed jupyter with pip with the --user flag just in case.

At first I was getting write errors in Jupyter Notebook when using ImageColorizerArtisticTests.ipynb (I placed my images into ./test_images/), because I placed the downloaded models into ./data/models/. Moving the models folder to the project root fixed this.

Just make sure if you’re on mac to set the device id from device.set(device=DeviceId.GPU0) to device.set(device=DeviceId.CPU). I’m running this on an 8 year old MacBook Pro and while a little slow (understandably), it does work and the results are pretty good with the stock models. By slow I mean it might take a few minutes for an image less than 1k in dimensions on either side, which is still very reasonable on old hardware like this.

Going to test on a desktop later and expect it to be much faster. Very cool that this works on mac without much hassle. I’m not a skilled programmer (know enough to get by here and there) and was still able to get this running while having my morning coffee.

Great work and thanks for making this cool tool available. 👍🏻

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
janticcommented, Dec 6, 2021

Great summary- it pretty much jibes with my experience. It really depends on what you’re looking for. and what kind of images you’re dealing with. The source images aren’t available anymore (hosting costs) but you can see what I used on images in this notebook: https://github.com/jantic/DeOldify/blob/master/ImageColorizerArtisticTests.ipynb .

My work ever since this open source release has involved a great deal of effort into making it so that you don’t have to figure out the arbitrary magic number and things just work. I think it’s pretty much at that point now but don’t expect that to make it to open source any time soon. But I can at least let it be known to those developing their own versions that yes- it’s possible to make things fully automatic, but it’s a lot of work.

0reactions
KeygenLLCcommented, Dec 6, 2021

The source images aren’t available anymore (hosting costs) but you can see what I used on images in this notebook: https://github.com/jantic/DeOldify/blob/master/ImageColorizerArtisticTests.ipynb .

Flickr, archive.org and Wikimedia Commons are obscenely good resources for getting public domain images to test with. All images are clearly marked and Google Image Search will be much better and faster to search these sites than their built-in search engines. Just append your Google searches with the domain, such as site:wikimedia.org. The only downside to Google Image search is that they removed some of the search tools, so you can’t specifically search for public domain images anymore. Searching the sites I mentioned you will find mostly PD images anyway.

One exception is Flickr. Flickr’s search engine is slower, and can hang up, but it has multiple public domain filters and many galleries are curated by institutions. Millions of images probably.

Note: Searching Flickr images without safe search enabled will possibly give you results that make you wish you had no eyes. You have been warned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
If an error occurred while updating or installing macOS · Check your internet connection · Install in safe mode · Install after repairing...
Read more >
Mac Installation Errors You May Encounter and How to Fix Them
In this guide, we will look at some of the installation problems that tend to occur with new releases of the Mac operating...
Read more >
Troubleshooting Connection Issues on macOS - Serato Support
Having a hard time getting your controller to connect using macOS? Follow the recommended troubleshooting steps below to get up and running.
Read more >
Troubleshoot sound problems on Windows with Boot Camp
Method 1: Update to the latest version of Boot Camp · Go to Boot Camp Support. · Click Downloads. · Scroll until you...
Read more >
Monterey Problems: How to fix the most common macOS 12 ...
Press Command + R to refresh the Software Update dialog. It should fix the problem in case there was some kind of network...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found