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.

some doubts about your code

See original GitHub issue

hi,dear author recently,i have read this paper,and luckily i have found your code.but i have some question about it. 1.i guess you wrote your code in python 3.0,because i can’t run it in python2.7,then i changed some codes,and succeed. 2.i have some doubts about your codes in reconstruction your low solution image. the following are some codes of you: [angle,strength,coherence] = hashTable(patch,Qangle,Qstrenth,Qcoherence) f = H[angle,strength,coherence] patch = patch.reshape(1,-1) LRImage[jPixel,iPixel] = patch*np.matrix(f).T jPixel = jPixel+1

in google’s paper,after we classified our patches into buckets,there may be no patch or a little patches in buckets because there are often many more horizontal and vertical structures in imagery,and flat regions are common,but i can’t see what solution you make in your paper.

为了表述更清楚,我下面使用中文(见笑):在谷歌论文分桶的时候,有些结构经常出现有些出现得少使得桶子里面的图像块数非常少,你是怎样处理这个的?

my email is :jxy1968@163.com i am looking forward your reply!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bineronecommented, Sep 16, 2017

hi, dear author! i am a student now, today i run this program in my computer and find it took more than 10 minutes to test, is this normal?

and in hashTable.py strength = np.floor(strength/(1/Qstrenth)-1) coherence = np.floor(coherence/(1/Qcoherence)-1) When running to these two sentences, will be given: cannot convert float infinity to integer. i print the ‘strength’ and ‘coherence’ and get ‘inf’, i donot kown where am i wrong.

So I temporarily change these two words: strength = np.floor(strengthQstrenth-1) coherence = np.floor(coherenceQcoherence-1) I know it might be wrong to do so,but i have no idea now. I hope you can help me about it. very thanks.

0reactions
MKFMIKUcommented, Sep 20, 2017

FIx

Read more comments on GitHub >

github_iconTop Results From Across the Web

What should I do if I have a doubt in my programming code?
If you mean that you have a unsettling doubt that code you are writing is not on par, good enough, OOP enough, abstracted...
Read more >
How can I resolve my doubts about learning to code?
The first step in coding is your mind casting away any doubt that you can do this. And these doubts will creep in...
Read more >
how to solve doubts during coding ?? What if your ... - YouTube
how to solve doubts during coding ?? What if your are stuck on some bug ?? 607 views 2 years ago. code Explainer....
Read more >
To self-doubting developers: are you good enough?
Look at the developers around you. They seem to have everything together. Their code is cleaner than yours. They debug much faster than...
Read more >
feedback and some doubts regarding the final instructions
So, I'm here for some feedback on my rock, paper and scissors code, I have a little experience coding in C and Java...
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