Assertion error and Theano function

Posted on Пт 03 Август 2018 in programming notes • Tagged with data, analisys, python, theano, scikit-learn, machine learning, threads, queue, semaphoreLeave a comment

Introduction

Theano is used in one of the projects I'm working on. The project is a web server and it accepts requests and process them using Theano function. When the server tries to process two simultaneous requests, it's failed with the error:

File "theano/scan_module/scan_perform.pyx", line 397, in theano.scan_module.scan_perform.perform (/home/dinara/work_projects/ds_voxrec_api/.theano/compiledir_Linux-4.4--generic-x86_64-with- Ubuntu-16.04-xenial-x86_64-3.5.2-64/scan_perform/mod.cpp:4490) AssertionError: The compute map of output 0 should contain 1 at the end of execution, not 0.

Continue reading