Skip to content

Instantly share code, notes, and snippets.

View Deewens's full-sized avatar
🎓
No time to loose, I'm working

Adrien Deewens

🎓
No time to loose, I'm working
View GitHub Profile
@Deewens
Deewens / CNN.py
Created February 1, 2023 16:59
Double DQN with CNN in Pong
def create_q_model(num_actions):
# Network defined by the Deepmind paper
inputs = layers.Input(shape=(4, 84, 84, 1))
# Convolutions on the frames on the screen
layer1 = layers.Conv2D(32, 8, strides=4, activation="relu")(inputs)
layer2 = layers.Conv2D(64, 4, strides=2, activation="relu")(layer1)
layer3 = layers.Conv2D(64, 3, strides=1, activation="relu")(layer2)
layer4 = layers.Flatten()(layer3)
Mar 06 19:20:36 g5-5590 cups.cups-browsed[2358]: + sleep 3600
Mar 06 20:20:36 g5-5590 cups.cups-browsed[2358]: + sleep 3600
Mar 06 20:28:06 g5-5590 audit[1165]: USER_AVC pid=1165 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.25" mask="receive" pid=3987 label="snap.bitwarden.bitwarden" peer_pid=1275 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Mar 06 20:28:06 g5-5590 audit[1165]: USER_AVC pid=1165 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.25" mask="receive" pid=47850 label="snap.discord.discord" peer_pid=1275 peer_label="unconfined"
exe=