[D] Which GPU(s) to get for Deep Learning (Updated for RTX 3000 Series)
Tim Dettmers just updated his legendary blogpost to include advice for the RTX 3000 series
Blog: [https://timdettmers.com/2020/09/07/which-gpu-for-deep-learning/](https://timdettmers.com/2020/09/07/which-gpu-for-deep-learning/)
PS: I had a chance to interview him earlier last year, this interview also has some very general PC Building advice: [https://www.youtube.com/watch?v=8Fp9m4fNDQ4](https://www.youtube.com/watch?v=8Fp9m4fNDQ4)
/r/MachineLearning
https://redd.it/ioascy
Tim Dettmers just updated his legendary blogpost to include advice for the RTX 3000 series
Blog: [https://timdettmers.com/2020/09/07/which-gpu-for-deep-learning/](https://timdettmers.com/2020/09/07/which-gpu-for-deep-learning/)
PS: I had a chance to interview him earlier last year, this interview also has some very general PC Building advice: [https://www.youtube.com/watch?v=8Fp9m4fNDQ4](https://www.youtube.com/watch?v=8Fp9m4fNDQ4)
/r/MachineLearning
https://redd.it/ioascy
Tim Dettmers
The Best GPUs for Deep Learning in 2023 — An In-depth Analysis
Here, I provide an in-depth analysis of GPUs for deep learning/machine learning and explain what is the best GPU for your use-case and budget.
Tuesday megathread: Advanced questions
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python.
**If your question is a beginner question we hold a beginner megathread tomorrow (Wednesday) where you can ask any question! We may remove questions here and ask you to resubmit tomorrow.**
/r/Python
https://redd.it/ioj3st
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python.
**If your question is a beginner question we hold a beginner megathread tomorrow (Wednesday) where you can ask any question! We may remove questions here and ask you to resubmit tomorrow.**
/r/Python
https://redd.it/ioj3st
reddit
Tuesday megathread: Advanced questions
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python. **If your question is a...
Beginner looking for advice on Flask + machine learning
I want to do a personal project, creating a Flask website that uses Nvidia's StyleGAN2 to generate some faces. I'm learning Flask because I'm familiar with deploying machine learning models in Python, so I figured a flexible Python microframework would be best.
The problem I'm facing is that StyleGAN2 requires GPU to run, and I'm using a Macbook without a discrete GPU (it uses Intel Iris Plus Graphics 640 1536 MB). I'm very comfortable with machine learning in Python using Google Collab, which provides GPU services, but I don't know how to host a website and access GPU to run ML models. Would AWS/Azure work well, and if so, which would allow me to easily leverage GPU in the cloud to host a website? Do I need to learn/use Docker?
I'm not super familiar with web development, so any input whatsoever would be appreciated :)
/r/flask
https://redd.it/ioihkn
I want to do a personal project, creating a Flask website that uses Nvidia's StyleGAN2 to generate some faces. I'm learning Flask because I'm familiar with deploying machine learning models in Python, so I figured a flexible Python microframework would be best.
The problem I'm facing is that StyleGAN2 requires GPU to run, and I'm using a Macbook without a discrete GPU (it uses Intel Iris Plus Graphics 640 1536 MB). I'm very comfortable with machine learning in Python using Google Collab, which provides GPU services, but I don't know how to host a website and access GPU to run ML models. Would AWS/Azure work well, and if so, which would allow me to easily leverage GPU in the cloud to host a website? Do I need to learn/use Docker?
I'm not super familiar with web development, so any input whatsoever would be appreciated :)
/r/flask
https://redd.it/ioihkn
reddit
Beginner looking for advice on Flask + machine learning
I want to do a personal project, creating a Flask website that uses Nvidia's StyleGAN2 to generate some faces. I'm learning Flask because I'm...
[R] Measuring Massive Multitask Language Understanding; a new test consisting of 14,080 questions given to GPT-3 (4 model sizes), UnifiedQA, and T5
[https://arxiv.org/abs/2009.03300](https://arxiv.org/abs/2009.03300)
Abstract:
>We propose a new test to measure a text model's multitask accuracy. The test covers 57 tasks including elementary mathematics, US history, computer science, law, and more. To attain high accuracy on this test, models must possess extensive world knowledge and problem solving ability. We find that while most recent models have near random-chance accuracy, the very largest GPT-3 model improves over random chance by almost 20 percentage points on average. However, on every one of the 57 tasks, the best models still need substantial improvements before they can reach human-level accuracy. Models also have lopsided performance and frequently do not know when they are wrong. Worse, they still have near-random accuracy on some socially important subjects such as morality and law. By comprehensively evaluating the breadth and depth of a model's academic and professional understanding, our test can be used to analyze models across many tasks and to identify important shortcomings.
/r/MachineLearning
https://redd.it/iol3l7
[https://arxiv.org/abs/2009.03300](https://arxiv.org/abs/2009.03300)
Abstract:
>We propose a new test to measure a text model's multitask accuracy. The test covers 57 tasks including elementary mathematics, US history, computer science, law, and more. To attain high accuracy on this test, models must possess extensive world knowledge and problem solving ability. We find that while most recent models have near random-chance accuracy, the very largest GPT-3 model improves over random chance by almost 20 percentage points on average. However, on every one of the 57 tasks, the best models still need substantial improvements before they can reach human-level accuracy. Models also have lopsided performance and frequently do not know when they are wrong. Worse, they still have near-random accuracy on some socially important subjects such as morality and law. By comprehensively evaluating the breadth and depth of a model's academic and professional understanding, our test can be used to analyze models across many tasks and to identify important shortcomings.
/r/MachineLearning
https://redd.it/iol3l7
reddit
[R] Measuring Massive Multitask Language Understanding; a new test...
[https://arxiv.org/abs/2009.03300](https://arxiv.org/abs/2009.03300) Abstract: >We propose a new test to measure a text model's multitask...
4001 x 4001 px Maze generated by a python script I wrote, (blue line is solution)
/r/Python
https://redd.it/ioq0d4
/r/Python
https://redd.it/ioq0d4
A star pathfinding algorithm visualized using pygame.
I Made A star algorithm using Euclidean distance and diagonal movement
Watch Video: [https://youtu.be/m8u533opxpM](https://youtu.be/m8u533opxpM)
GitHub Link: [https://github.com/nas-programmer/path-finding/blob/master/astar.py](https://github.com/nas-programmer/path-finding/blob/master/astar.py)
/r/Python
https://redd.it/ioovos
I Made A star algorithm using Euclidean distance and diagonal movement
Watch Video: [https://youtu.be/m8u533opxpM](https://youtu.be/m8u533opxpM)
GitHub Link: [https://github.com/nas-programmer/path-finding/blob/master/astar.py](https://github.com/nas-programmer/path-finding/blob/master/astar.py)
/r/Python
https://redd.it/ioovos
YouTube
A* Path finding Visualization - Python Pygame A Star Path Finding Algorithm Visualized
A star pathfinding algorithm visualized using the Pygame library of python.
Build a pathfinding visualizer tool to visualize the astar pathfinding algorithm as it runs. This astar pathfinding algorithm is an informed search algorithm making it more efficient…
Build a pathfinding visualizer tool to visualize the astar pathfinding algorithm as it runs. This astar pathfinding algorithm is an informed search algorithm making it more efficient…
I’ve made a sub for testing your reddit bots, so you don’t have to annoy moderators
Join r/TestRedditBots, you can also submit tutorials
/r/Python
https://redd.it/iopvl2
Join r/TestRedditBots, you can also submit tutorials
/r/Python
https://redd.it/iopvl2
reddit
I’ve made a sub for testing your reddit bots, so you don’t have to...
Join r/TestRedditBots, you can also submit tutorials
Running a Machine Learning Model in Django.
I am using Django REST Framework to run my ML model, in the views class. My model runs everytime a post request is made. Is there any better place to run the model? Some way to preload the model or do it in the background?
/r/django
https://redd.it/ioqm4k
I am using Django REST Framework to run my ML model, in the views class. My model runs everytime a post request is made. Is there any better place to run the model? Some way to preload the model or do it in the background?
/r/django
https://redd.it/ioqm4k
reddit
Running a Machine Learning Model in Django.
I am using Django REST Framework to run my ML model, in the views class. My model runs everytime a post request is made. Is there any better place...
Custom CSS Style a Jupyter Notebook (self blog)
https://skelouse.github.io/styling_a_jupyter_notebook
/r/IPython
https://redd.it/ioplkz
https://skelouse.github.io/styling_a_jupyter_notebook
/r/IPython
https://redd.it/ioplkz
skelouse.github.io
Styling a Jupyter Notebook - My Dev Canvas
A Humble Abode For My Biased Blogs About Things I Have Learned In Python, Data Science, And Programming in General
What's expected from a Junior/Mid/Senior Django developer?
This is a question I have in mind because I've not been put in an enterprise-grade work before. I've lots of experience tampering around myself in lots of things, I find myself knowing many things in the technologies I use that mid-seniors don't know (but I can't work in a team...etc). I can't judge my skills from my own perspective. I need someone to help me judge what's the perfect level of a job for me to apply to or how to know that. I've been in programming for more than 5 years, but only 1 in Django, I worked 2 years as a freelancer, but my CV is still empty except probably the skills section and some personal projects.
/r/django
https://redd.it/ioua0o
This is a question I have in mind because I've not been put in an enterprise-grade work before. I've lots of experience tampering around myself in lots of things, I find myself knowing many things in the technologies I use that mid-seniors don't know (but I can't work in a team...etc). I can't judge my skills from my own perspective. I need someone to help me judge what's the perfect level of a job for me to apply to or how to know that. I've been in programming for more than 5 years, but only 1 in Django, I worked 2 years as a freelancer, but my CV is still empty except probably the skills section and some personal projects.
/r/django
https://redd.it/ioua0o
reddit
What's expected from a Junior/Mid/Senior Django developer?
This is a question I have in mind because I've not been put in an enterprise-grade work before. I've lots of experience tampering around myself in...
@app.route can't grab by id
I want to grab by **id** but I can't seem to get it right. my code below
@app.route('/post/delete/<int:id>')
def delete(id):
posts = BlogPost.query.get_or_404(id)
db.session.delete(posts)
db.session.commit()
return redirect('/post')
@app.route('/post/edit/<int:id>', methods=['GET' 'POST'])
def edit(id):
if request.method == 'POST':
posts = BlogPost.query.get_or_404(id)
posts.title = request.form['title']
posts.content = request.form['content']
posts.author = request.form['author']
db.session.commit()
return redirect('/post')
else:
return render_template('edit.html')
ninja syntax in
/r/flask
https://redd.it/iozbxv
I want to grab by **id** but I can't seem to get it right. my code below
@app.route('/post/delete/<int:id>')
def delete(id):
posts = BlogPost.query.get_or_404(id)
db.session.delete(posts)
db.session.commit()
return redirect('/post')
@app.route('/post/edit/<int:id>', methods=['GET' 'POST'])
def edit(id):
if request.method == 'POST':
posts = BlogPost.query.get_or_404(id)
posts.title = request.form['title']
posts.content = request.form['content']
posts.author = request.form['author']
db.session.commit()
return redirect('/post')
else:
return render_template('edit.html')
ninja syntax in
/r/flask
https://redd.it/iozbxv
reddit
r/flask - @app.route can't grab by id
2 votes and 12 comments so far on Reddit
Non-Linear SVM Tutorial and Explanation
[https://www.youtube.com/watch?v=NnoGY8ybzrs](https://www.youtube.com/watch?v=NnoGY8ybzrs&t=11s)
/r/pystats
https://redd.it/ip4jfc
[https://www.youtube.com/watch?v=NnoGY8ybzrs](https://www.youtube.com/watch?v=NnoGY8ybzrs&t=11s)
/r/pystats
https://redd.it/ip4jfc
YouTube
Using Non-Linear SVM on Radial Data
In this video, I go over how to use a non-linear SVM for the classification of points.
Part 1 of this series goes over how to create the data: https://www.youtube.com/watch?v=0ljgjjWpivU
Article mentioned in the video: https://medium.com/all-things-ai/in…
Part 1 of this series goes over how to create the data: https://www.youtube.com/watch?v=0ljgjjWpivU
Article mentioned in the video: https://medium.com/all-things-ai/in…
Quoting multiple lines at once?
I have the following block of links:
​
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/007/SRR6459187/SRR6459187.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/008/SRR6459188/SRR6459188.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/009/SRR6459189/SRR6459189.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/000/SRR6459190/SRR6459190.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/001/SRR6459191/SRR6459191.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/002/SRR6459192/SRR6459192.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/003/SRR6459193/SRR6459193.fastq.gz
[ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/004/SRR6459194/SRR6459194.fastq.gz](ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/004/SRR6459194/SRR6459194.fastq.gz)
​
My end goal is to have them as:
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/007/SRR6459187/SRR6459187.fastq.gz"
"[ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/008/SRR6459188/SRR6459188.fastq.gz](ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/008/SRR6459188/SRR6459188.fastq.gz)"
......
​
Is there an automatised way to do this? I am going to quote blocks like this over and over and it would be great if there was an easy way!
​
Thanks!!
/r/JupyterNotebooks
https://redd.it/ip35i5
I have the following block of links:
​
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/007/SRR6459187/SRR6459187.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/008/SRR6459188/SRR6459188.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/009/SRR6459189/SRR6459189.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/000/SRR6459190/SRR6459190.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/001/SRR6459191/SRR6459191.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/002/SRR6459192/SRR6459192.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/003/SRR6459193/SRR6459193.fastq.gz
[ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/004/SRR6459194/SRR6459194.fastq.gz](ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/004/SRR6459194/SRR6459194.fastq.gz)
​
My end goal is to have them as:
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/007/SRR6459187/SRR6459187.fastq.gz"
"[ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/008/SRR6459188/SRR6459188.fastq.gz](ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR645/008/SRR6459188/SRR6459188.fastq.gz)"
......
​
Is there an automatised way to do this? I am going to quote blocks like this over and over and it would be great if there was an easy way!
​
Thanks!!
/r/JupyterNotebooks
https://redd.it/ip35i5
reddit
r/JupyterNotebooks - Quoting multiple lines at once?
1 vote and 0 comments so far on Reddit
Real life examples of using Flask for data container (register, information management), machine learning/analytical pipeline?
I need real life examples which I can refer to as an example were Flask is used. I am interested in cases were Flask is used for:
1. As data container (register, information management system; some system where data is entered and retrieved on demand).
2. Machine learning/analytical pipeline.
/r/flask
https://redd.it/ip4jo5
I need real life examples which I can refer to as an example were Flask is used. I am interested in cases were Flask is used for:
1. As data container (register, information management system; some system where data is entered and retrieved on demand).
2. Machine learning/analytical pipeline.
/r/flask
https://redd.it/ip4jo5
reddit
Real life examples of using Flask for data container (register,...
I need real life examples which I can refer to as an example were Flask is used. I am interested in cases were Flask is used for: 1. As data...
Django TalkTo: Seamlessly use Django without DB
I just developed a django app that allows you to talk to a REST API using the django modules. I called it Django TalkTo. It allows you to literally use django in a "djangoic" way without a database
You can check it out at
https://github.com/sirrobot01/djangotalkto
Note: It is still in developmental stage. Opinions are welcome on how to improve it.
Thanks
/r/django
https://redd.it/ip9vx5
I just developed a django app that allows you to talk to a REST API using the django modules. I called it Django TalkTo. It allows you to literally use django in a "djangoic" way without a database
You can check it out at
https://github.com/sirrobot01/djangotalkto
Note: It is still in developmental stage. Opinions are welcome on how to improve it.
Thanks
/r/django
https://redd.it/ip9vx5
GitHub
sirrobot01/djangotalkto
Seamlessly consume RESTful API with all Django flavours - sirrobot01/djangotalkto
Wednesday megathread: Beginner questions
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
/r/Python
https://redd.it/ip5722
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
/r/Python
https://redd.it/ip5722
reddit
Wednesday megathread: Beginner questions
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
Hired to a new intern position! Thank you all
Hey everyone! I am an electrical engineer student who is an intern at an engineering company but had a really boring business position. I didnt like my position at all since it was just making reports by copying and pasting. I didn’t know how to code, but I was interested in learning python. So I decided maybe I could make a project of automating those tedious reports so that I didn’t have to do it.
Over a month ago I asked if it was possible to automate the really boring stuff I have to do for my job since it was just super boring. Some of you guys suggested I learned to use pandas. I decided to take up my free time to learn python and study up on pandas. I finally finished creating a program where it automates all the reports instantly, saving about five hours per report.
My manager was really impressed and showed his manager. I was able to move position into a hardware engineer intern, where I can still continue to better my coding skills as well as do what I want to do as an engineer! Thank you all for your help!
/r/Python
https://redd.it/ip4ute
Hey everyone! I am an electrical engineer student who is an intern at an engineering company but had a really boring business position. I didnt like my position at all since it was just making reports by copying and pasting. I didn’t know how to code, but I was interested in learning python. So I decided maybe I could make a project of automating those tedious reports so that I didn’t have to do it.
Over a month ago I asked if it was possible to automate the really boring stuff I have to do for my job since it was just super boring. Some of you guys suggested I learned to use pandas. I decided to take up my free time to learn python and study up on pandas. I finally finished creating a program where it automates all the reports instantly, saving about five hours per report.
My manager was really impressed and showed his manager. I was able to move position into a hardware engineer intern, where I can still continue to better my coding skills as well as do what I want to do as an engineer! Thank you all for your help!
/r/Python
https://redd.it/ip4ute
reddit
Hired to a new intern position! Thank you all
Hey everyone! I am an electrical engineer student who is an intern at an engineering company but had a really boring business position. I didnt...
adding sqlalchemy database from separate python file
Can anyone tell me how to add a database to a flask web app if I have the model in another file.
I am making a web app for a file management system.
I have made a models.py file where I have written the code for all the tables and relationships and now I have to call it in my main.py file where I have declared the flask app .
Can anybody tell me how to do it ?
/r/flask
https://redd.it/ipciv4
Can anyone tell me how to add a database to a flask web app if I have the model in another file.
I am making a web app for a file management system.
I have made a models.py file where I have written the code for all the tables and relationships and now I have to call it in my main.py file where I have declared the flask app .
Can anybody tell me how to do it ?
/r/flask
https://redd.it/ipciv4
reddit
adding sqlalchemy database from separate python file
Can anyone tell me how to add a database to a flask web app if I have the model in another file. I am making a web app for a file management...
Seaborn 0.11 Released
https://medium.com/@michaelwaskom/announcing-the-release-of-seaborn-0-11-3df0341af042
/r/Python
https://redd.it/iozgr9
https://medium.com/@michaelwaskom/announcing-the-release-of-seaborn-0-11-3df0341af042
/r/Python
https://redd.it/iozgr9
Medium
Announcing the release of seaborn 0.11
Today sees the 0.11 release of seaborn, a Python library for data visualization. This is a major update with a number of exciting new…