Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve this errors [ REQUEST_BUSY ] and cannot unpack non-iterable NoneType object face recognition demo #3461

Open
Balu2311 opened this issue Apr 13, 2022 · 2 comments

Comments

@Balu2311
Copy link

Balu2311 commented Apr 13, 2022

[ REQUEST_BUSY ]
def enqueue(self, input):
self.clear()

    if self.max_requests <= self.active_requests:
        log.warning('Processing request rejected - too many requests')
        return False
 
   self.exec_net.start_async(self.active_requests, input)
  
  self.active_requests += 1
 return True
@vladimir-dudnik
Copy link
Contributor

@Balu2311
Copy link
Author

def enqueue(self, input):
    self.clear()

    if self.max_requests <= self.active_requests:
        log.warning('Processing request rejected - too many requests')
        return False
    try:
        self.exec_net.start_async(self.active_requests, input)
    except:
        self.exec_net.start_async(self.active_requests, input)
    self.active_requests += 1
    return True

[ REQUEST_BUSY ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants