- https://www.biranchi.com
View Tensorflow Object Detection API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tensorflow Object Detection API : | |
================================== | |
https://www.youtube.com/watch?v=COlbP62-B-U&index=1&list=PLQVvvaa0QuDcNK5GeCQnxYnSSaar2tpku | |
https://github.com/tensorflow/models/tree/master/research/object_detection | |
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md | |
View bigram_tokens.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nltk | |
nltk.download('punkt') | |
import itertools | |
text = "today is 'Nayan's birthday. she loves ice cream. she is also fond of cream cake. we will celebrate her birthday with ice cream cake" | |
sentences = nltk.sent_tokenize(text) | |
words = [nltk.word_tokenize(sent) for sent in sentences] | |
print(words) |
View download.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = 'https://www.facebook.com/favicon.ico' | |
r = requests.get(url, allow_redirects=True) | |
with open('facebook.ico', 'wb') as f: | |
f.write(r.content) |
View async_await.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from asyncio import run | |
async def sum(): | |
total = 0 | |
for i in range(0,10): | |
print(f'i : {i}') | |
total += i | |
return total |
OlderNewer