I would like to generate a Lookup table in TensorFlow with key is string and value is list of strings. But it seems currently no classes in tf.lookup support th
I'm working on a basic social media django project with the help of an udemy course. The following are the models i created: group : models.py register
I have an endless loop problem in Simpy simulation. My scenario is: After finishing triage, a patient wait until getting empty bed. However, if there is no empt
I'm supposed to rotate the list iteratively which means put the first element to the last, and the rest move forward until it back to the orig
Is there a valid Python syntax for the following idea: d = {_: 'value for any other key', 'x': 'value only for x key'} value = d[key] which should assign 'valu
I am using python with ecs_logg https://www.elastic.co/guide/en/ecs-logging/python/current/installation.html. It output to a file. Then I am having a logstash r
How is it possible that the Kivy GUI app is not load the whole code at the time of initialization? Is it possible that when we called some function so the execu
I want to create a license system for my codes in python. Now I am facing an issue: how can I check if an integer is contained in my MySQL database? Here are so
I made a Layout in QT Designer, I have a QStackedWidget with 2 pages and I would like to know how I can move from page inside the QStackedWidget every 15s witho
Imagine I have the following code: qs = Users.objects.all() list = [] for i in range(10): list.append(qs.filter(age=i)) here the filter is called 10 times
Task: Mask RCNN train_shapes.ipynb tutorial. Training to segment different shapes in the artificially generated shapes dataset. Problem: Matterport's Mask RCNN
Lets say I a have two objects of different framework that I cant alter (one is C implemented and the other uses a nested factory to instantiate): # framework_a.
I'm really new to this stuff, I'm a 16 year old currently doing a research project/internship, and I've just started 2 weeks ago. So I'm extremely confused. I'v
I need to set the default DB schema for a Django project, so that all tables of all apps (including 3rd party apps) store their tables in the configured Postgre
I have two modules, first one is PIL, and the second one is wand, which I import from PIL and wand something called Image, and there is conflict, how do I overc
I am trying to build a custom Spacy pipeline based off the en_core_web_sm pipeline. From what I can tell the ner has been added correctly as it is displayed in
I am a beginner that just started learning python this Monday and one of the first hurdles I am getting into is while loops. I was trying to code a number guess
Current output is of format, dictionary of lists { "majestic-service-1.324.02070909": [ "/home/robotics/arm-services/FeaturesDir.yaml", "/ho
I want to pass a function which generates random normal numbers to another function, do some calculations and pass again the random function x times. At the end
I was using sqlalchemy to create connection and query mySQL DB, however, glue doesn't seem to support "sqlalchemy" or even "pymysql". Is there a way to do this