Comments (7)
Well that's a new bug. Must be a localisation bug ? Are you in a country which uses ',' instead of '.' to demark decimal point ?
I'm currently under a ton of course load. If you can find a fix, please make a pull request at https://github.com/titu1994/Neural-Style-Transfer-Windows
from neural-style-transfer.
Yes. It's localisation bug.
"...please make a pull request..."
I'm sorry, but I have no idea how to do it.
But I found working (probably only for me) solution.
Need add this:
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
before all Convert.ToDouble
"all" mean:
CheckTVWeignt()
CheckStyleScale()
CheckMinThreshold()
CheckContentWeignt()
in MainForm.cs
But, even after that, again, there are errors. And I don't know how to fix it, and what's the problem ...
Here are screenshots of errors.
Need some help. Again.
from neural-style-transfer.
That error has been corrected in an earlier commit. You can download the repo again or copy paste the most recent code to get that working.
I'll be using your fix after testing that it doesn't break anything else in a few days.
from neural-style-transfer.
"...download the repo again..."
And then there was a new "bug"... Screenshot
An endless stream of errors...
What's wrong now? How to fix it?
P.S. I'm tired of trying to catch each time disappearing ( in an instant) window with error.
from neural-style-transfer.
Are you using Theano in GPU mode? Because your errors suggest that you are using the CPU. This code is not meant for CPU execution, since it takes thousands of seconds per iteration on even the most powerful CPUs.
This is an error with linking BLAS libraries on CPU mode.
To setup Theano on GPU, use the Guide.md on the repo page. It has full instructions to setup Theano with GPU on windows.
As a side note, in order to see the error screen properly, there is a second button called "Copy to Clipboard" which copies the arguments.
Then travel to the place where the program is, go to the script directory, open a cmd with Shift + right click at that location and type python network.py
(with the space) and then paste (right click and paste, or ctrl V if on windows 10).
Then the error screen will stay on the screen.
from neural-style-transfer.
At last I was able to get it to work properly!
My problem was that I didn't see anywhere mention in "README.md" about "Guide.md" until you say me that.
It turned out that it is necessary to use the Anaconda 3 (I had Anaconda 2). And instead of "Visual Studio 2015" need to use "Visual Studio 2013".
Ideally, you want someone to make a complete video tutorial that shows virtually all the steps for windows. But not me. I had enough. It should be mentioned in README.md about Guide.md . (Really. It is important information.)
Screenshots with my test.
Now I'm going to learn how to achieve interesting results by changing settings.
Thank you very much for your help!
And I apologize for the grammatical errors in the comments. (If they exist in the text)[because google translate]
from neural-style-transfer.
Umm, the second paragraph in the Readme.md is titled Guide with the first sentence pointing to the guide.md. Anyway. I guess I should make it more explicit.
from neural-style-transfer.
Related Issues (20)
- [Question] Content mask format HOT 5
- how to run the script on multiples GPU?
- ImportError: cannot import name 'imread' HOT 5
- Google colab neural style transfer HOT 2
- error in MRFNetwork.py HOT 1
- could we apply fast-style-transfer to image deformation? HOT 2
- Update documentation to reflect that tensorflow works on Windows now
- Replace tf.gradients with tf.GradientTape : RuntimeError HOT 2
- Bug using preserve color option HOT 3
- ValueError: Tensor conversion requested dtype float32 for Tensor with dtype int32: 'Tensor("strided_slice_8:0", shape=(), dtype=int32)' HOT 1
- script helper
- script helper
- Saving model
- RuntimeError: tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead. HOT 5
- convert_all_kernels_in_model removed from tf2 HOT 1
- RuntimeError: tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead. HOT 2
- neural doodle
- broken and unusable HOT 1
- Tensorflow 1 is unsupported in Colab
- Hello, I'm sorry to bother you. I need help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neural-style-transfer.