Skip to content

Instantly share code, notes, and snippets.

Avatar

BigsnarfDude bigsnarfdude

View GitHub Profile
@bigsnarfdude
bigsnarfdude / BMPCC4K
Created May 23, 2021
Blackmagic Pocket Cinema DCI 4K Framerates
View BMPCC4K
The Blackmagic Pocket Cinema DCI 4K resolution at 30 fps, the bitrates are as follows:
DCI 4K 30p (4096 x 2160) at 272MB/s (2176mb/s) bitrate using CinemaDNG RAW 12-bit
DCI 4K 30p (4096 x 2160) at 129MB/s (1032mb/s) bitrate using CinemaDNG RAW 3:1 12-bit
DCI 4K 30p (4096 x 2160) at 97MB/s (776mb/s) bitrate using CinemaDNG RAW 4:1 12-bit
DCI 4K 30p (4096 x 2160) at 118MB/s (944mb/s) bitrate using ProRes 422 HQ 10-bit
DCI 4K 30p (4096 x 2160) at 78.63MB/s (629mb/s) bitrate using ProRes 422 10-bit
DCI 4K 30p (4096 x 2160) at 54.63MB/s (437mb/s) bitrate using ProRes 422 LT 10-bit
DCI 4K 30p (4096 x 2160) at 24.25MB/s (220mb/s) bitrate using ProRes 422 Proxy 10-bit
The Blackmagic Pocket Cinema DCI 4K resolution at 60 fps, the bitrates are as follows:
View azure_load.py
import os
from os import listdir
from os.path import isfile, join
import asyncio
from azure.storage.blob import BlobServiceClient
from azure.storage.blob.aio import BlobClient
from azure.storage.blob.aio import ContainerClient
from datetime import datetime, timedelta
View gist:51c9a7ed80590476521e49f1394bde5b
http://s9xie.github.io/Tutorials/CVPR2020/
https://www.youtube.com/watch?time_continue=5&v=her4_rzx09o&feature=emb_logo
https://www.youtube.com/watch?v=QCtHGT68RIU&feature=emb_logo
https://www.youtube.com/watch?v=QCtHGT68RIU&feature=emb_logo
https://www.youtube.com/watch?v=hgBk9WlF-XA&feature=emb_logo
https://www.youtube.com/watch?v=hVwD4kgat9Y&feature=emb_logo
View cvpr 2020 self driving notes june 14 2020
https://arxiv.org/pdf/2006.02108.pdf
https://arxiv.org/abs/1711.10122
https://arxiv.org/abs/1606.03476
https://arxiv.org/abs/1901.02705
https://towardsdatascience.com/e2e-the-every-purpose-ml-method-5d4f20dafee4
https://arxiv.org/abs/1011.0686
http://cvrr.ucsd.edu/LISA/lisa-traffic-sign-dataset.html
https://bdd-data.berkeley.edu/
https://xingangpan.github.io/projects/CULane.html
https://github.com/TuSimple/tusimple-benchmark
@bigsnarfdude
bigsnarfdude / async_upload_azure_directory.py
Last active May 26, 2020
async_upload_azure_directory.py
View async_upload_azure_directory.py
import os
from os import listdir
from os.path import isfile, join
import asyncio
from azure.storage.blob import BlobServiceClient
from azure.storage.blob.aio import BlobClient
from azure.storage.blob.aio import ContainerClient
View strom_eda_r_not_covid.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View covid-eda.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bigsnarfdude
bigsnarfdude / bc_cdc_covid19_data_EDA.ipynb
Last active May 9, 2020
bc_cdc_covid19_data_EDA.ipynb
View bc_cdc_covid19_data_EDA.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bc_cdc.py
import urllib.request
import json
body = {}
myurl = 'https://bc-covid-counts-uac6u.transposit.io/api/v1/execute/get_bc_covid_data'
req = urllib.request.Request(myurl)
req.add_header('Content-Type', 'application/json; charset=utf-8')
jsondata = json.dumps(body)
jsondataasbytes = jsondata.encode('utf-8') # needs to be bytes
View gist:46036cf223a7d1b78b681ae19389d1c8
def format_dict_get(my_dict, location, key):
def zero_none(x):
return x or 0
return zero_none(my_dict.get(location).get(key))
# clean any of the dicts for None values
for k, v in query_dict.items():
for k2, v2 in v.items():
if v2 is None or v2 is False: