Group Abstract Group Abstract

Message Boards Message Boards

Get ImageRestyle neural network runtime in Mathematica 12?

Hi, Playing with Mathematica 12 and ImageRestyle and the system generates an error message: The neural network is unavailabe. With MM11.3 it has always worked. Stacktrace shows: ImageRestyle::nnlibunavail Running Windows 10

As a comment, before the imagerestyle started it first downloaded the GPU libraries. That was 900MB! After the download Mathematica showed a message that a restart was needed. After the restart the message above was generated.

POSTED BY: l van Veen
8 Replies
Posted 6 years ago

This particular key probably won't cause a problem but if it does feel free to reach out once again. However, it is due to some security/firewall feature enabled on your machine that is most likely the culprit.

POSTED BY: Carlos Ylagan

Hi Carlos, Oke thanks. Trying the installation again is not working and I did the install in Admin mode. So might be a firewall issue. Not looking forward to re-install again.. Any idea if this might cause problems? The installation gave the possibility to ignore it so I assume it not being a critical thing to solve. Thx!

POSTED BY: l van Veen
Posted 6 years ago

After re-install I received an installation error:

Regarding this particular error this it may indicate a permission/firewall problem. I'd suggest rebooting first and trying the installation again otherwise make sure you have admin privileges and/or any firewall settings aren't blocking this.

POSTED BY: Carlos Ylagan

After the restart back on the page and a download was started again (this did not happen with previous installs)

There it is downloading the neural network that ImageRestyle uses. This should only happen once.

I've never seen that kind of installation warning before, I'll ask around if anyone knows what it means...

So at the end I got it working. I removed all 11.x versions an deleted the wolfram and mathematica directories in the C:\Users\lvveen\AppData\Roaming directory.

After re-install I received an installation error: enter image description here

I decided to ignore it and move on..

I went to the ImageRestyle documentation and started the example Then it started to reload the GPU libraries

enter image description here

After this a restart was asked: enter image description here

After the restart back on the page and a download was started again (this did not happen with previous installs)

enter image description here

Now it works for ImageRestyle:

enter image description here

and also for NetTrain: enter image description here

I'm still a bit worried about the install error message but it seems to have no effect. Would love to hear if this is indeed save to ignore or not.

POSTED BY: l van Veen
POSTED BY: l van Veen
POSTED BY: l van Veen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard