3
$\begingroup$

ImageRestyle[] seems like a cool new function in v11.2, but is there something I need to to get this to work:

enter image description here

I have a MacBook Pro (Retina, 15-inch, Late 2013) with NVIDIA GeForce GT 750M 2 GB.

Update

The suggestion in the comment was to download a certain NetModel, which seems to fail:

enter image description here

The ResourceObject seems to exist but won't load:

enter image description here

$\endgroup$
9
  • $\begingroup$ What's your system? yode was having issues with this too. It works fine on my old, GPU-less mac. $\endgroup$
    – b3m2a1
    Commented Sep 15, 2017 at 18:57
  • $\begingroup$ ImageRestyle works for me on Windows 7 x64 with version 11.2.0. Probably the best is to follow the recommendation from the error message and contact Wolfram. $\endgroup$ Commented Sep 15, 2017 at 19:02
  • $\begingroup$ Actually it works,but you have to re-run it some times.. $\endgroup$
    – yode
    Commented Sep 15, 2017 at 19:32
  • $\begingroup$ @yode it never works for me $\endgroup$
    – M.R.
    Commented Sep 15, 2017 at 20:38
  • 1
    $\begingroup$ Running NetModel["AdaIN-Style Trained on MS-COCO and Painter by Numbers Data"] gives $Failed @AlexeyGolyshev $\endgroup$
    – M.R.
    Commented Sep 18, 2017 at 17:06

1 Answer 1

2
$\begingroup$

It's possible the downloaded copy you have is somehow corrupted. You can wipe it out with:

ResourceRemove[ResourceObject["AdaIN-Style Trained on MS-COCO and Painter by 
Numbers Data"]]

And then Quit and try again.

$\endgroup$
5
  • 1
    $\begingroup$ Do you know if there's a way to do this without a Quit? $\endgroup$
    – b3m2a1
    Commented Sep 18, 2017 at 21:22
  • $\begingroup$ Running your code gave these warnings: ResourceAcquire::apierr: The specified resource could not be found; ResourceRemove::unkro: The specified resource $Failed is not cached locally. $\endgroup$
    – M.R.
    Commented Sep 18, 2017 at 22:18
  • $\begingroup$ Does not work for me $\endgroup$
    – M.R.
    Commented Sep 18, 2017 at 23:01
  • $\begingroup$ That's odd since ResourceObject[style] in your code found the resource. If that is still the case (In[67] still gives the same Out[67]), You can use ResourceRemove[style]. $\endgroup$ Commented Sep 19, 2017 at 13:35
  • $\begingroup$ @BobSandheinrich Thanks, it's working now. $\endgroup$
    – M.R.
    Commented Sep 29, 2017 at 20:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.