Image Similarity Search using PyTorch & Spotify Annoy
In this webcast I’ll show how to create an image similarity search using a pre-trained model in PyTorch and Spotify Annoy (Approximate Nearest Neighbor Oh Yeah!).
https://www.youtube.com/watch?v=wDnXFXbytVk
​
/r/Python
https://redd.it/y15vs3
In this webcast I’ll show how to create an image similarity search using a pre-trained model in PyTorch and Spotify Annoy (Approximate Nearest Neighbor Oh Yeah!).
https://www.youtube.com/watch?v=wDnXFXbytVk
​
/r/Python
https://redd.it/y15vs3
YouTube
Image Similarity Search using PyTorch & Spotify Annoy
In this webcast I’ll show how to create an image similarity search using a pre-trained model in PyTorch and Spotify Annoy (Approximate Nearest Neighbor Oh Yeah!).
Spotify Annoy: https://github.com/spotify/annoy
Approximate nearest neighbors and vector models…
Spotify Annoy: https://github.com/spotify/annoy
Approximate nearest neighbors and vector models…
How We Boosted Video Processing Speed 5x by Optimizing GPU Usage in Python
Hi, hope you'll fined it useful, please feel free to share your thoughts about it >>
My blog post
https://preview.redd.it/9mlcjuhyz6t91.png?width=1600&format=png&auto=webp&s=2f41ffc8920e9d043c57e07522220673718ed3cc
/r/Python
https://redd.it/y1bjxi
Hi, hope you'll fined it useful, please feel free to share your thoughts about it >>
My blog post
https://preview.redd.it/9mlcjuhyz6t91.png?width=1600&format=png&auto=webp&s=2f41ffc8920e9d043c57e07522220673718ed3cc
/r/Python
https://redd.it/y1bjxi
Medium
How We Boosted Video Processing Speed 5x by Optimizing GPU Usage in Python
By: Nitsan Hasson
Free 45 Pages tutorial for Flask (How to build a mobile web)
https://docdro.id/0GOZUFr
/r/Python
https://redd.it/y1fp3q
https://docdro.id/0GOZUFr
/r/Python
https://redd.it/y1fp3q
www.docdroid.net
Ultimate Flask Tutorial 2022 Reddit.pdf
Written by Antonio Blago, http://www.antonioblago.com. Free Flask Tutorial: Initialization of Flask, Implement Plotly and Publish on Hosting System. By Antonio Blago Subscribe to my newsletter: www.antonioblago.com/Subscribe email: info@antonioblago.com 2022…
django-comments-dab - comments, likes, subscription and moderation
https://django-comment-dab.readthedocs.io/en/latest/
/r/django
https://redd.it/y1heu8
https://django-comment-dab.readthedocs.io/en/latest/
/r/django
https://redd.it/y1heu8
Django & Celery Integration - MIT / Visual Tasks Manager: Start / Cancelling / View Execution Logs
https://github.com/app-generator/sample-django-celery
/r/django
https://redd.it/y14l2u
https://github.com/app-generator/sample-django-celery
/r/django
https://redd.it/y14l2u
GitHub
GitHub - app-generator/sample-django-celery at blog.appseed.us
Django & Celery Integration - Open-Source Sample | AppSeed.us - GitHub - app-generator/sample-django-celery at blog.appseed.us
DataCamp is offering free access to their platform all week! Try it out now! https://bit.ly/3Q1tTO3
/r/JupyterNotebooks
https://redd.it/w4j7ux
/r/JupyterNotebooks
https://redd.it/w4j7ux
How to Create A Line Plot and Scatter Plot in Matplotlib ?
https://www.datascienceverse.com/data-visualization/matplotlib-python-line-and-scatter-plot/
/r/IPython
https://redd.it/y1blwj
https://www.datascienceverse.com/data-visualization/matplotlib-python-line-and-scatter-plot/
/r/IPython
https://redd.it/y1blwj
DataScienceVerse
Matplotlib Python | Line and Scatter Plot
Matplotlib Python is a popular library for creating graphs, plots, and other visualizations. People use this to describe and analyze data.
R ReAct: Synergizing Reasoning and Acting in Language Models - Google Research 2022
Paper: https://arxiv.org/abs/2210.03629#google
Abstract:
>While large language models (LLMs) have demonstrated impressive capabilities across tasks in language understanding and interactive decision making, their abilities for reasoning (e.g. chain-of-thought prompting) and acting (e.g. action plan generation) have primarily been studied as separate topics. In this paper, we explore the use of LLMs to generate both reasoning traces and task-specific actions in an interleaved manner, allowing for greater synergy between the two: reasoning traces help the model induce, track, and update action plans as well as handle exceptions, while actions allow it to interface with external sources, such as knowledge bases or environments, to gather additional information. We apply our approach, named ReAct, to a diverse set of language and decision making tasks and demonstrate its effectiveness over state-of-the-art baselines, as well as improved human interpretability and trustworthiness over methods without reasoning or acting components. Concretely, on question answering (HotpotQA) and fact verification (Fever), ReAct overcomes issues of hallucination and error propagation prevalent in chain-of-thought reasoning by interacting with a simple Wikipedia API, and generates human-like task-solving trajectories that are more interpretable than baselines without reasoning traces. On two interactive decision making benchmarks (ALFWorld and WebShop), ReAct outperforms imitation and reinforcement learning methods by an
/r/MachineLearning
https://redd.it/y1mosn
Paper: https://arxiv.org/abs/2210.03629#google
Abstract:
>While large language models (LLMs) have demonstrated impressive capabilities across tasks in language understanding and interactive decision making, their abilities for reasoning (e.g. chain-of-thought prompting) and acting (e.g. action plan generation) have primarily been studied as separate topics. In this paper, we explore the use of LLMs to generate both reasoning traces and task-specific actions in an interleaved manner, allowing for greater synergy between the two: reasoning traces help the model induce, track, and update action plans as well as handle exceptions, while actions allow it to interface with external sources, such as knowledge bases or environments, to gather additional information. We apply our approach, named ReAct, to a diverse set of language and decision making tasks and demonstrate its effectiveness over state-of-the-art baselines, as well as improved human interpretability and trustworthiness over methods without reasoning or acting components. Concretely, on question answering (HotpotQA) and fact verification (Fever), ReAct overcomes issues of hallucination and error propagation prevalent in chain-of-thought reasoning by interacting with a simple Wikipedia API, and generates human-like task-solving trajectories that are more interpretable than baselines without reasoning traces. On two interactive decision making benchmarks (ALFWorld and WebShop), ReAct outperforms imitation and reinforcement learning methods by an
/r/MachineLearning
https://redd.it/y1mosn
reddit
[R] ReAct: Synergizing Reasoning and Acting in Language Models -...
Posted in r/MachineLearning by u/Singularian2501 • 44 points and 2 comments
Web Dev Topics.
Hi Django devs.
This is probably different from what y'all are used to, but I need your help.
I write about Django and I am looking to increase my list of Django blog posts.
Now, I am looking for blog topics that an intermediate or experienced Web developer would be interested in.
Any ideas on topics?
/r/django
https://redd.it/y1w7n6
Hi Django devs.
This is probably different from what y'all are used to, but I need your help.
I write about Django and I am looking to increase my list of Django blog posts.
Now, I am looking for blog topics that an intermediate or experienced Web developer would be interested in.
Any ideas on topics?
/r/django
https://redd.it/y1w7n6
reddit
Web Dev Topics.
Hi Django devs. This is probably different from what y'all are used to, but I need your help. I write about Django and I am looking to increase...
Linode doest not allows connection after update
Hello, i just tried to deploy my django application on a linode but here is my problem :
When i started the linode and went to port 8000 of the ip adress in my browser, everything ran ok, i had the classic "installation successfull" django page on my screen with the satisfying rocket. BUT when i sent my local application to the server via GitHub, it suddently stoped to work, i mean i have " *ip_adress* does not allow connection page" in my browser. This is not a firewall problem, and i dont know what to do, does someone had the same problem than me ? Can seomeone help me because my hair is starting to fall right now... Maybe the server take a few time to run changes ? rly i dont know pls help
/r/django
https://redd.it/y2011g
Hello, i just tried to deploy my django application on a linode but here is my problem :
When i started the linode and went to port 8000 of the ip adress in my browser, everything ran ok, i had the classic "installation successfull" django page on my screen with the satisfying rocket. BUT when i sent my local application to the server via GitHub, it suddently stoped to work, i mean i have " *ip_adress* does not allow connection page" in my browser. This is not a firewall problem, and i dont know what to do, does someone had the same problem than me ? Can seomeone help me because my hair is starting to fall right now... Maybe the server take a few time to run changes ? rly i dont know pls help
/r/django
https://redd.it/y2011g
reddit
Linode doest not allows connection after update
Hello, i just tried to deploy my django application on a linode but here is my problem : When i started the linode and went to port 8000 of the...
Use Hex, a Jupyter-compatible data workspace, to collaborate on consistent data
https://cube.dev/blog/hex-integration-collaborative-data-notebooks
/r/JupyterNotebooks
https://redd.it/w3qh44
https://cube.dev/blog/hex-integration-collaborative-data-notebooks
/r/JupyterNotebooks
https://redd.it/w3qh44
Cube Blog
Announcing the Cube and Hex integration: Headless BI meets notebooks and data apps - Cube Blog
Create notebooks and data apps in Hex and add Cube to collaborate on consistent metrics.
Am I job-ready as a developer?
First of all, little background about me. Actually I'm a computer engineering graduate, I didn't pay much attention to code during my college period however I was decent in C and C++ , got straight A's. I didn't bother learning any frameworks which would have been useful in landing a job. After graduation, I worked in Infosys as an implementation officer( I had to install software on clients' computers and teach them how to use it .) So basically there was no coding involved. And the wage was way less than the developers. So I thought I would join MBA (btw I joined MBA because I got a full scholarship )and in the meantime, I would learn some framework and land a job. So I quit my job and joined MBA.
I picked up Django and I have built three simple projects till now. they are:
1. **Portfolio website:**
what I learned:
* MVT architecture
**2. Todo app:**
So basically I followed Dennis ivy's tutorial for this. What I learned:
* CRUD operation
* Class based views
* Specific user-based data and view
* Integrated with Postgres database
* Hosted on Heroku
**3. Blog website**
What I learned:
* How to handle static files and media files
* jinja2
* Implemented all
/r/django
https://redd.it/y1z26l
First of all, little background about me. Actually I'm a computer engineering graduate, I didn't pay much attention to code during my college period however I was decent in C and C++ , got straight A's. I didn't bother learning any frameworks which would have been useful in landing a job. After graduation, I worked in Infosys as an implementation officer( I had to install software on clients' computers and teach them how to use it .) So basically there was no coding involved. And the wage was way less than the developers. So I thought I would join MBA (btw I joined MBA because I got a full scholarship )and in the meantime, I would learn some framework and land a job. So I quit my job and joined MBA.
I picked up Django and I have built three simple projects till now. they are:
1. **Portfolio website:**
what I learned:
* MVT architecture
**2. Todo app:**
So basically I followed Dennis ivy's tutorial for this. What I learned:
* CRUD operation
* Class based views
* Specific user-based data and view
* Integrated with Postgres database
* Hosted on Heroku
**3. Blog website**
What I learned:
* How to handle static files and media files
* jinja2
* Implemented all
/r/django
https://redd.it/y1z26l
reddit
Am I job-ready as a developer?
First of all, little background about me. Actually I'm a computer engineering graduate, I didn't pay much attention to code during my college...
Help with error in Jupyter Notebooks
I am having an error with Jupyter Notebooks. My error is "NameError: name '_C' is not defined. I am writing a neural network to process the BCI Competition dataset. I've posted the code as a screenshot here.
I opened Jupyter through the Anaconda command prompt. All of the packages shown as imports are installed and I have restarted the kernel. In fact, this is the second notebook to try this. When I run 'pip install torch' it states that the requirement is already satisfied and I confirmed that through the Anaconda Navigator. Torch is installed in the base root.
Can anyone help me with my error?
​
https://preview.redd.it/lg48094rqac91.png?width=1078&format=png&auto=webp&s=a3f062a4b20073657f0fd6ab9b6d7686b7d99426
/r/JupyterNotebooks
https://redd.it/w1v7ts
I am having an error with Jupyter Notebooks. My error is "NameError: name '_C' is not defined. I am writing a neural network to process the BCI Competition dataset. I've posted the code as a screenshot here.
I opened Jupyter through the Anaconda command prompt. All of the packages shown as imports are installed and I have restarted the kernel. In fact, this is the second notebook to try this. When I run 'pip install torch' it states that the requirement is already satisfied and I confirmed that through the Anaconda Navigator. Torch is installed in the base root.
Can anyone help me with my error?
​
https://preview.redd.it/lg48094rqac91.png?width=1078&format=png&auto=webp&s=a3f062a4b20073657f0fd6ab9b6d7686b7d99426
/r/JupyterNotebooks
https://redd.it/w1v7ts
Wednesday Daily Thread: Beginner questions
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/y1oht5
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/y1oht5
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Jupyterhub Server on AWS
JupyterHub is best suited to serve Jupyter notebook for multiple users. With the diverse AWS EC2 instances, JupyterHub can find various applications such as course teaching, data mining, or scientific research simulations. We provide an Amazon Machine Image (AMI) that has more than 300 python packages preinstalled. For details, please visit https://docs.jhub.cloud/
/r/JupyterNotebooks
https://redd.it/w072n9
JupyterHub is best suited to serve Jupyter notebook for multiple users. With the diverse AWS EC2 instances, JupyterHub can find various applications such as course teaching, data mining, or scientific research simulations. We provide an Amazon Machine Image (AMI) that has more than 300 python packages preinstalled. For details, please visit https://docs.jhub.cloud/
/r/JupyterNotebooks
https://redd.it/w072n9
docs.jhub.cloud
jhub.cloud -- JupyterHub Server in the Cloud
Multiple User JupyterHub Server on AWS cloud for data science, machine learning and course teaching
I created a tool to quickly view reference images using keybindings
This tool follows sort of the vim philosophy of never having to leave your keyboard. This can act as an image viewer, or as a program to quickly refer reference images, cheat sheets, notes, keybindings, etc.
​
You can specify a root directory in the config file and then navigate through the entire dir using only keys (which are also configurable in the config file)
​
This is the first time I've dedicated this much time for a project which I'll be using myself (I use it to refer all my keybindings) and also the first time I've put effort into writing proper documentation.
​
Give it a shot to see if you like it and do share your honest thoughts on areas I can improve or features you'd like to see. Let me know what you guys think!
​
https://reddit.com/link/y2519a/video/rcjwhcwjudt91/player
Link to project: https://github.com/pranavpa8788/Rekey
/r/Python
https://redd.it/y2519a
This tool follows sort of the vim philosophy of never having to leave your keyboard. This can act as an image viewer, or as a program to quickly refer reference images, cheat sheets, notes, keybindings, etc.
​
You can specify a root directory in the config file and then navigate through the entire dir using only keys (which are also configurable in the config file)
​
This is the first time I've dedicated this much time for a project which I'll be using myself (I use it to refer all my keybindings) and also the first time I've put effort into writing proper documentation.
​
Give it a shot to see if you like it and do share your honest thoughts on areas I can improve or features you'd like to see. Let me know what you guys think!
​
https://reddit.com/link/y2519a/video/rcjwhcwjudt91/player
Link to project: https://github.com/pranavpa8788/Rekey
/r/Python
https://redd.it/y2519a
GitHub
GitHub - pranavpa8788/Rekey
Contribute to pranavpa8788/Rekey development by creating an account on GitHub.
Is there a way to hard code a data value into a model for a specific data entry?
Sorry if this question doesnt make sense but im going to do my best.
I need to create a new data field in a model. I know how to do this, I know how to make and apply a migration etc etc.
However, I need to hard-code SPECIFIC data values in this field for certain data entries. Is there a way I can do this in the model?
Ive seen how you can create a default value, but is there any way to query a specific data entry and then give it a value, and have this applied when I make the migration?
For example:
where ID = 1, name = 'bob'
where ID = 2, name = 'john'
/r/djangolearning
https://redd.it/y2a32k
Sorry if this question doesnt make sense but im going to do my best.
I need to create a new data field in a model. I know how to do this, I know how to make and apply a migration etc etc.
However, I need to hard-code SPECIFIC data values in this field for certain data entries. Is there a way I can do this in the model?
Ive seen how you can create a default value, but is there any way to query a specific data entry and then give it a value, and have this applied when I make the migration?
For example:
where ID = 1, name = 'bob'
where ID = 2, name = 'john'
/r/djangolearning
https://redd.it/y2a32k
reddit
Is there a way to hard code a data value into a model for a...
Sorry if this question doesnt make sense but im going to do my best. I need to create a new data field in a model. I know how to do this, I know...
How to Train YOLOv7 on a Custom Dataset for License Plate Recognition in Python — ANPR / ALPR Tutorial — Theos AI
https://blog.theos.ai/articles/how-to-train-yolov7-on-a-custom-dataset-for-license-plate-recognition-in-python-anpr-alpr-tutorial
/r/Python
https://redd.it/y25kbl
https://blog.theos.ai/articles/how-to-train-yolov7-on-a-custom-dataset-for-license-plate-recognition-in-python-anpr-alpr-tutorial
/r/Python
https://redd.it/y25kbl
Theos AI
How to Train YOLO v7 on a Custom Dataset for License Plate Recognition in Python (ANPR / ALPR Tutorial 2023) — Theos AI
Build a computer vision model that automatically detects the position and size of all the license plates within an image or video and reads them using Optical Character Recognition (OCR).
[R] Neural Networks are Decision Trees
https://arxiv.org/abs/2210.05189
/r/MachineLearning
https://redd.it/y2pi2a
https://arxiv.org/abs/2210.05189
/r/MachineLearning
https://redd.it/y2pi2a
reddit
[R] Neural Networks are Decision Trees
Posted in r/MachineLearning by u/MLC_Money • 39 points and 39 comments
Am I doing the Post/Redirect/Get pattern wrong?
Hello everyone! I'm currently trying to write a ModelForm but when the form validation fails and I try to refresh the page I've got this error message:
https://preview.redd.it/w600xriwxjt91.png?width=414&format=png&auto=webp&s=1e1b29889419119f786a33e12546e99d3dd57fd5
I followed a couple of tutorials and this is my current view:
def index(request):
if request.method == 'POST':
form = PostForm(request.POST, label_suffix='')
if form.is_valid():
form.save()
return redirect('home')
else:
form = PostForm(label_suffix='')
return render(request, 'post/index.html', {'form': form})
And this is my form:
class PostForm(ModelForm):
class Meta:
model = Post
fields = ['name']
I'm just
/r/djangolearning
https://redd.it/y2vjfn
Hello everyone! I'm currently trying to write a ModelForm but when the form validation fails and I try to refresh the page I've got this error message:
https://preview.redd.it/w600xriwxjt91.png?width=414&format=png&auto=webp&s=1e1b29889419119f786a33e12546e99d3dd57fd5
I followed a couple of tutorials and this is my current view:
def index(request):
if request.method == 'POST':
form = PostForm(request.POST, label_suffix='')
if form.is_valid():
form.save()
return redirect('home')
else:
form = PostForm(label_suffix='')
return render(request, 'post/index.html', {'form': form})
And this is my form:
class PostForm(ModelForm):
class Meta:
model = Post
fields = ['name']
I'm just
/r/djangolearning
https://redd.it/y2vjfn