Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
(•̀ᴗ•́)و ̑̑

Augusto Barros AugustoBarros

🎯
(•̀ᴗ•́)و ̑̑
View GitHub Profile
View fractal_turtle.py
# https://www.simplifiedpython.net/python-turtle-module/
import turtle as tu
import random # import random module
my_turtle = tu.Turtle()
my_turtle.screen.bgcolor('red')
my_turtle.left(90)
my_turtle.speed(20)
my_turtle.color('green')
my_turtle.pensize(5)
my_turtle.screen.title("My Fractal Tree")
View gist:2bd40d7fddf10f94d217d8601d21d601
from keras.applications import MobileNet
# Construindo a SNN
input_shape=(224,224, 3) # formato das imagens de entrada
left_input = Input(input_shape)
right_input = Input(input_shape)
# inicializando os kernels
W_init = keras.initializers.RandomNormal(mean = 0.0, stddev = 1e-2)
# inicializando os bias