Mix.install(
[
{:axon_onnx, ">= 0.0.0"},
{:exla, ">= 0.0.0"},
{:evision, ">= 0.0.0"},
This file contains hidden or 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
defmodule Eye do | |
alias Evision, as: Cv | |
def read(video, frame_read, count) when frame_read != false do | |
scale = 0.5 | |
{height, width, _channels} = frame_read.shape | |
new_width = trunc(width * scale) | |
new_height = trunc(height * scale) | |
frame_read |
This file contains hidden or 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
ARG CUDA_VERSION=11.2.2 | |
ARG CUDNN_VERSION=8 | |
ARG UBUNTU_VERSION=18.04 | |
# https://hub.docker.com/r/nvidia/cuda | |
FROM nvidia/cuda:${CUDA_VERSION}-cudnn${CUDNN_VERSION}-devel-ubuntu${UBUNTU_VERSION} | |
ARG PYTHON_VERSION=3.8 | |
ARG OPENCV_VERSION=4.5.5 |
%{ author: "Yuri Oliveira", author_link: "https://github.com/yuriploc", tags: , date: ~D[2021-11-12], title: "Writing a cleaner select query", excerpt: """ How learning more about the Ecto.Query module can help you write cleaner select queries. """ }
This file contains hidden or 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
def are_eq?(left, right) when is_list(left) and is_list(right), do: same_members?(left, right) | |
defp same_members?([hd_left | t_left], [_ | _] = right) do | |
if Enum.any?(right, &(&1 == hd_left)) do | |
index = Enum.find_index(right, &(&1 == hd_left)) | |
{_, next_right} = List.pop_at(right, index) | |
same_members?(t_left, next_right) | |
else | |
false |
I hereby claim:
- I am yuriploc on github.
- I am yuriploc (https://keybase.io/yuriploc) on keybase.
- I have a public key ASBJd2TddgRiSq3hK3Ffny1lR62QHnXOgk-lwHnEISmQdQo
To claim this, I am signing this object:
This file contains hidden or 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
[user] | |
email = [email protected] | |
name = Юрий Оливейра | |
[alias] | |
lo = log --graph --format=oneline --abbrev-commit | |
loa = !git lo --all | |
lol = log --graph --format='%C(auto)%h%d %s%Creset %Cgreen(%cr)%Creset %C(cyan)<%an>%Creset' | |
lola = !git lol --all | |
co = checkout | |
br = branch |
This file contains hidden or 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
len=${#buckets[@]} | |
i=0 | |
while [ $len -gt $i ] | |
do | |
bucket=${buckets[$i]} | |
url=${urls[$i]} | |
echo $bucket | |
mkdir -p $bucket && cd $bucket | |
filenames=$(aws s3 ls s3://${buckets[$i]} | awk '{ print $4 }') |
Objective: To present 60 metamodel-based transformation tools and compare them using a qualitative framework.
Method: Classification by transformation approach and compare by 46 facets in 6 categories.
- More than half (6 of 11) of the tools based on a relational transformation language have been discontinued.
- Four out of nine tools targeting the QVT standard have been discontinued
NewerOlder