« first day (2947 days earlier)      last day (2019 days later) » 

jrh
12:11 AM
I guess since I'm asking weird package management questions, what is the relationship between installing packages from a package manager vs from pip? Does pip know about packages installed through apt or vice versa?
 
12:34 AM
If I am not mistaken, they all install to the same directory, unless you are installing it a venv.
Or a different version of python. cbg. btw
 
jrh
Ah right, I forgot, where are my manners? cbg
@Mr.Zeus According to pip3 show cntk it's in /usr/local/lib/python3.6/site-packages, 3.7 and 3.5 have their own folders
though admittedly I compiled 3.6 and did make install, not your traditional apt route, heh
er wait, I might've gotten confused, by "they" do you mean that apt and pip install to the same place?
If so that sounds right... cracking open the deb the only thing I wonder about is whether pip is aware of the package and if there's something weird that could happen with /local/lib/
 
1:24 AM
evening cabbage
 
 
1 hour later…
sP_
2:34 AM
Hello people! Need help with dataframes. One of my columns in my df is a dictionary. I want to add a column to the df with sum of all the values of the df. How do I do it because when I try to do df.dictcol.values() I get this error - 'TypeError: 'numpy.ndarray' object is not callable'
 
 
1 hour later…
3:55 AM
Hello?
how shall I go about getting the nth bit from a byte?
 
(num & (1 << N)) >> N
 
as a 1 or 0 or true or false?
Actually
I want the top bit
of a big endian byte
 
 
4 hours later…
8:33 AM
@sP_ I sense huge confusion
Please give an MCVE with "a column that is a dict"
 
 
2 hours later…
10:15 AM
Hi guys
Anyone know why this dont work

for l in range (0,10):
vec[l] = minhash(np.squeeze(np.asarray(sparse_matrix[:,l].A)))
i received often the same column
 
 
4 hours later…
1:56 PM
@AntonioLuciano No idea what that means, sorry
 
I think I do but no MCVE so
 
Lol, I give up with formatting on my phone
 
It was probably the space
 
Eh, I'd like to think I contribute enough to be forgiven a silly phone error :) but you're probably right
 
2:33 PM
Hi
I want to start template matching from scratch
can anyone help? I dont know how to start
:(
 
@Sahar what template? what matching? Can you provide more details so that everyone / most people understand the question?
 
@shad0w_wa1k3r I have a picture as a template, I want to count that template in another picture
but I dont want to use OpenCV
google results was using opencv function
Maybe I need another keyword for it
but I dont know what is that
 
well, opencv is for "computer vision", and it looks like that's the tech you need to solve your complex problem.
 
Opencv has a template_match function, I want to implement it with numpy
or another libraries
I mean from scratch
 
Yup, use opencv. Or read their docs how it works; it's easy to implement yourself
This part is well documented
 
2:55 PM
@Sahar why?
 
@roganjosh to understand it
 
You want to implement it from scratch to understand it? Noble, I wanna do similar, but you've picked a big library
 
3:11 PM
Nah, it's simple
Understanding all of opencv is a different kettle of fish
But "I want to reimplement it to learn. How do I reimplement it?" is the wrong approach to learning. Start googling
 
jpp
3:32 PM
stackoverflow.com/questions/52901075/… - this one was closed and then deleted. i've edited it to try and make it less opinion-based.
 
@jpp Seems like the bullets you added modify the question quite a bit (to suit your own answer).
 
jpp
@IljaEverilä, Exactly. Note OP accepted my answer. So I'm not doing this selfishly. It's shown to be what OP wanted by the fact they accepted the answer.
 
It is something they accepted, given there was nothing else.
My point was that in its original form other answers might've solved it as well. That does not go against your view of SO, I believe.
 
jpp
@IljaEverilä, The original form is opinion-based, it was closed & deleted and no use to anyone.
So we either admit both the question & answer are useless (despite the fact they are both upvoted), or be constructive and make a useful Q&A.
 
4:15 PM
@jpp Note that in your answer None is returned instead of an empty string in case of an exception. The return value of your context manager is ignored.
 
@jpp people upvote everything
 
how can i create a sliding window on an image?
I have an image with size : w and h
I want to slide a window with size wt,ht on it and process that image under sliding window
 
Hi i need help
I need help in Keras LSTM multiclass classification
 
 
2 hours later…
6:30 PM
Hey Guys,
I have a simple question
how can I run one function of my python script after 5 min while the script is running every second.
I don't want that this function call internet "api" in every loop. So I want to make it run just every 5 min
 
there's probably something useful in here
 
Okey Thank you
 
6:49 PM
@Sahar a sliding window is not an object, it's an algorithm concept.
img[x0:x0+wt, y0:y0+ht]. There.
 
7:05 PM
Have you learned numpy before trying to use it for template matching?
 
7:54 PM
Do we perhaps have anyone here, who does astropy stuff?
I want to tinker around with converting the partiview .speck file format contents into 3d coordinates...
 
8:14 PM
Nevermind. partiview files already have xyz
 
 
3 hours later…
11:41 PM
cbg
 
that's funny
@AndrasDeak Have you found any interesting posts this week? (interesting as in laughable )
 
on imgur?
 
11:58 PM
on stack
 
Oct 31 at 17:22, by Andras Deak
Please don't link to low quality posts just to complain about them. Let's try to keep chat interesting rather than negative. If there are any actionable low-quality posts please use the appropriate request.
 

« first day (2947 days earlier)      last day (2019 days later) »