Skip to main content

2 posts tagged with "Python"

View All Tags

Project: P2P Communication App

· 5 min read

View Project

Last Commit

A fork of the project in the semester 2023-24 Term 2, creating a peer-to-peer communication app supporting audio recording, waveform display and editing, and also screen share function.

Key Features

  • Peer-to-peer communication within local area network
  • Functions:
    • Create, join and leave chat rooms
    • Audio recording
    • Screen sharing
  • Synchronization and handling of audio and video streams from multiple users so that they do not hear their own voices

Project: Deep Q-Learning Agent

· 2 min read

View Project Report

Python Gymnasium Reinforcement Learning Group Project Last Updated

Overview

  • Created a Gym environment of a simple third-person shooter game in Python
  • Implemented a simple Deep-Q Network with PyTorch to train agents to master at the game (left image)
  • Fine-tuned the hyperparameters of the agent, achieving average kill streak of 7 (right image, top) and lengthend the survival duration by 4 times (right image, bottom), which significantly better than the random baseline of 0.22 kills on average.
  • Explored how deep-Q learning models handle a variable quantity of moving objects, i.e. the bullets and enemies, and relevant adjustments to the reward functions and representations of the observation space needed.

Report: Report