Comments (15)
The code is running Ok, thanks for your guidance!
from wb_srgb.
Hello, I have faced this error. But I can not run the demo.m because the model loaded does not replace. So how can I get the new model after replacing the line 59 and 60? Thank you!
from wb_srgb.
What do you mean by "the model loaded does not replace"? Could you please explain more what is the error message you got in Matlab?
from wb_srgb.
I mean that I just replace the code, but the model loaded in the demo.h is still the old one.
from wb_srgb.
Thanks for clarifying. No need to replace the model .. just replace the code and it should work.
from wb_srgb.
really?Actually, I still can not run the demo.h. The model which is loaded in the demo in models folder is still the old one, I think maybe I should rebuild the model, but I can not find where to rebuild it. The version of my matlab is 2014a.
from wb_srgb.
It seems that the problem is not in the model .. probably, it is related to the image itself. Do you mind to print out the size of Iy, diff_u and diff_v? Or if you can send me figure3.jpg. Thanks!
from wb_srgb.
The size of the 3 variables are printed in the picture respectively, and the figure3.jpg is still the one which you pushed to the github, I do not repalce it.
from wb_srgb.
Please replace Line 69 in WBmodel.m and Line 69 in WBmodel_GPU.m with the following one:
hist(:,:,i)=(repmat(Iy, [1, size(diff_u,2)]) .* double(diff_u))'*double(diff_v); % compute the histogram
from wb_srgb.
There are still some bugs in the code, but that's ok, I'll read your code and the paper carefully first so I don't waste your valuable time. I was going to see the phenomenon and then read the code and the paper carefully, but maybe I will deal with these bugs by myself after reading the paper and code. Thank you anyway!
from wb_srgb.
Could you please refer to the part that you think it is a bug? What is the error message you got?
from wb_srgb.
After replacing Line 69 in WBmodel.m and Line 69 in WBmodel_GPU.m, there are still some errors shown above.
from wb_srgb.
thanks for sharing. I guess the problem is about broadcasting .. let me have a look and try to make things work for you.
from wb_srgb.
OK,thank you for your guidance, I will also read the code carefully after my work.
from wb_srgb.
Replace line 92 in WBmodel.m and line 92 in WBmodel_GPU.m with the following code:
mf = sum(repmat(weightsH,[1, size(obj.mappingFuncs,2)]) .* obj.mappingFuncs(idH,:),1);
Please let me know if you still have a problem with your Matlab version.
from wb_srgb.
Related Issues (13)
- size of mapping function? HOT 1
- Dataset: meaning of the input naming HOT 1
- bad results, not work in my data HOT 1
- Having issue regarding arrray problem when running the code HOT 3
- Dataset——metadata file HOT 2
- About models HOT 4
- Chainner integration
- How to download the dataset from command line? HOT 5
- Dataset -- metadata files
- processing speed of python version HOT 2
- Question about rendered dataset.
- Bug in Python version HOT 1
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 wb_srgb.