Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Permanent Nan in NP
Post: RE: Permanent Nan in NP

Thank you all!
Antigr Homework 8 4,359 Jun-27-2018, 01:19 PM
    Thread: Please explain me Pathos Pool()
Post: Please explain me Pathos Pool()

Is this scheme right? Or it forks only with for i in range? from pathos.multiprocessing import ProcessingPool as Pool p=Pool() def calculating (arg1,arg2): **some calculating** return result r...
Antigr Homework 1 3,754 Jun-27-2018, 01:14 PM
    Thread: Permanent Nan in NP
Post: RE: Permanent Nan in NP

(Jun-26-2018, 05:15 PM)Larz60+ Wrote: There are warnings about divide by zero errors I modified the code a bit so as to find the image file on my computer, but nothing else: import numpy as np from...
Antigr Homework 8 4,359 Jun-26-2018, 05:32 PM
    Thread: Permanent Nan in NP
Post: RE: Permanent Nan in NP

(Jun-26-2018, 03:40 PM)Larz60+ Wrote: I'll give it a go.import numpy as np from PIL import Image import math #np.seterr(divide='ignore', invalid='ignore') image=Image.open('E:/test.jpg') imgr,imgg,i...
Antigr Homework 8 4,359 Jun-26-2018, 04:55 PM
    Thread: Permanent Nan in NP
Post: RE: Permanent Nan in NP

(Jun-26-2018, 02:50 PM)Larz60+ Wrote: would you please attach image (test.jpg) so that the code can be run?https://ibb.co/caLfkT sorry, there was error first time, there must be image, thank you (...
Antigr Homework 8 4,359 Jun-26-2018, 03:15 PM
    Thread: Permanent Nan in NP
Post: Permanent Nan in NP

need to conduct some analysis of the image, do not go into the questions what this formula is, it does not matter. import numpy as np from PIL import Image #np.seterr(divide='ignore', invalid='ignore'...
Antigr Homework 8 4,359 Jun-26-2018, 01:31 PM
    Thread: Calculate png volume of Homer
Post: RE: Calculate png volume of Homer

(Jun-22-2018, 05:25 PM)nilamo Wrote: https://www.pyimagesearch.com/2018/06/18...-learning/ Facial recognition in python is fast enough to work while streaming video, without any noticeable delay. So...
Antigr Homework 3 7,421 Jun-22-2018, 05:46 PM
    Thread: Calculate png volume of Homer
Post: Calculate png volume of Homer

Hi! Help me please solve this issue: i have png image (for example great Homer) This image is 1280*1024. How many Homer is in picture in %? For example -Homer:35%, Background:65% i tried used Pillow...
Antigr Homework 3 7,421 Jun-22-2018, 05:10 PM
    Thread: error in FOR
Post: error in FOR

I got this code: import numpy as np a=np.zeros(1000) b=list(a) b.append(1) c=[] for i in range(len(b)): if b[i]==0: del b[i] #print(i) c=bPurpose is to delete all zeroes, so th...
Antigr Homework 2 2,809 Jun-21-2018, 06:11 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020