Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
1 replies
10 views

I was watching this tutorial on weight initialization in neural network, and im not able to understand this statement: In case of Tanh, Sigmoid activation, If we initialize weights with large values (...
Arun Negi's user avatar
-3 votes
1 answer
63 views

i understand this is seemingly simple im a beginner i apologize if ive wasted anyones time but im pretty lost rn heres my code print ("you awaken in a dark room") print ("you look to ...
doylin holgu's user avatar
1 vote
1 answer
31 views

I am trying to setup a distributed environment for NLP processing. I use Ray and Python on GCP. I have a master and several workers. What happens is that when I run 1 worker or 8 workers, it takes ...
cuneyttyler's user avatar
  • 1,394
Best practices
0 votes
1 replies
23 views

I'm new. Is it best practice to make a list of the variable's "namespace," and if so, what are some of the methods to track them that others might use? Are there other things that should be ...
archiTech's user avatar
Advice
0 votes
3 replies
37 views

I'm new to coding, and I'm trying to use VS code to learn Python. I had an issue when I ran the debugger. I got some extra output showing something like this: PS C:\Users\user\Desktop\Python\oops> ...
LuckyDC's user avatar
Best practices
0 votes
1 replies
25 views

The Direct Answer to the Original Question If you simply want to run a function in a separate thread, the minimal working pattern is: import threading def worker(): print("Running in a ...
Guilherme Pinheiro's user avatar
-2 votes
0 answers
47 views

For a role-playing game, I want to create an NPC generator. The skills are stored in a CSV file with 2 columns, e.g.: Kraftakt (KO/KK/KK),KTL Überreden (MU/IN/CH),GTL Geographie (KL/KL/IN),WTL where ...
malefitz leroy's user avatar
1 vote
1 answer
37 views

I have an intersting error. I'm starting learning Machine Learning by Tensorflow Keras CV tutorials and two of my tutorial projects working incorrectly I use this tutorials: https://www.tensorflow.org/...
Sanorian's user avatar
Advice
0 votes
1 replies
46 views

So i wrote this code which is used for parsing the information from the webpage to te text file. it works fine but it can write down only 501 string in the txt. How can i fix the code to remove this ...
1LIK's user avatar
  • 1
Advice
0 votes
4 replies
62 views

I was solving the algorithm problem: find all unique substrings from the string, using sets. Here is the model solution, but I can't understand what line 6 means. Why does the end go up to length + 1? ...
Ilona's user avatar
  • 21
0 votes
0 answers
26 views

A scatter plot with an astropy wcs projection is limited to just the xlim/ylim of the axis, even if there are points outside that range: ra = 151.416293 dec = 12.115556 points = np.random.normal(loc=(...
Matthew's user avatar
  • 2,310
2 votes
1 answer
50 views

Here's the Python code import httpx url = "https://www.steamgifts.com/" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 ...
Jack Rong's user avatar
-5 votes
0 answers
45 views

im having issues in flet 0.80.5 with my back button or view_pop. async def view_pop(e): page.views.pop() top_view = page.views\[-1\] await page.push_route(top_view.route) my on route ...
Ad00bA's user avatar
  • 1
0 votes
0 answers
37 views

I am trying to install pyaudio on an old win7 32-bit laptop, with Python 3.6.8 already installed. I have installed the latest compatible version of pip, and then numpy and mapplotlib. I issue the ...
steveOw's user avatar
  • 1,021
Best practices
2 votes
5 replies
68 views

I have a few python scripts that I want to run on a small raspberry pi project I've been working on and I want to use a launcher or something so I can launch them without a pc or anything does anyone ...
noobvrgt's user avatar

15 30 50 per page
1
2 3 4 5
147183