Giter VIP home page Giter VIP logo

tenshitranslator's Introduction

Hey, I'm Ryan

  • Undergrad at the University of Michigan ใ€ฝ๏ธ, majoring in Robotics and Computer Science
  • Interested in Robotics (Planning, Control, CV) and Low-Level Programming (Embedded, Firmware, Driver)
  • Competitive Robotics Enthusiast - VEX Robotics alum (4253B), currently navigation at Michigan's Autonomous Robotics Vehicle Team
  • Loves learning about Modern C++, design patterns, and writing clean and readable code
  • Enjoys translation, video games (Rimworld, Elden Ring, Minecraft, Crusader Kings), board games, anime, and more

Languages & Technology ๐Ÿ’ป

C++ C Python Java Julia

ROS Selenium NumPy Matplotlib OpenCV GitHub Actions Git Docker

Contact me ๐Ÿ“ฒ

ryan-liao4253 https://www.youtube.com/channel/UCSu2KKN9d6buqnZ1xBnKTFA ryan4253

Statistics ๐Ÿ“ˆ

tenshitranslator's People

Contributors

ryan4253 avatar

Watchers

 avatar

tenshitranslator's Issues

Backend Flask server instability

Describe the bug
Flask server often fails to connect

To Reproduce
Steps to reproduce the behavior:

  1. run api.exe or api.py
  2. send a http translation request through another file

Expected behavior
Flask server successfully process translation requests

Desktop (please complete the following information):

  • OS: Windows 11

Additional context
Likely due to Flask server running another internal flask server. Best to move away from Flask and use alternative ways to process requests instead.

Migrate to vite for build

Is your feature request related to a problem? Please describe.
Create React App is no longer maintained and recommended and has slowed down development due to long build times

Describe the solution you'd like
Migrate to Vite for build which is much faster. Since this is a single page application, this usage should be very appropriate

Additional context
Can follow this tutorial here

GUI

Is your feature request related to a problem? Please describe.
Stakeholder analysis by Granger shows that a lot of groups are discouraged from adopting this software due to the software running off command line, which people perceive as overly complex.

Describe the solution you'd like
Create a desktop app with that includes all the features (select translator, files, output format etc.) that runs the built executable.

The app will likely be made with Electron. Not only does this allow the entire software to be delivered in a cross platform executable, most of the heavy lifting for the design can be done with React. This would also give me an opportunity to learn web development as I have no previous experience with tools like HTML, CSS and Javascript.

An alternative would be creating a front end using Python through frameworks like PyQT. The overall process should be a bit easier as everything can be done in one language, and this solution will be chosen if the first method proves to be too time consuming.

Online translator empty line output buffering

Describe the bug
Since when an empty line is detected, the online translator translation tool immediately outputs and continues, the code does not have enough time to properly buffer

To Reproduce
Run online translator in a separate process and observe output

Expected behavior
Output should be printed on separate lines

Screenshots
image

Additional Information
Should be solvable by adding a delay when an empty line is detected

Offline Translator initialization doesn't flush

Describe the bug
print statement of Offline Translator initialization does not flush, which results in a delay where the message isn't captured until the next statement is printed when run in a subprocess.

To Reproduce
Run offline translator as a subprocess and observe output

Expected behavior
Output is flushed and shown real time

Screenshots
Bug showing up while running
stuff

Relevant bug in code
image

Batch Translator does not use batch size

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Run Batch Translator with any batch size other than 64

Expected behavior
Batch Translator runs in batches of given size

Screenshots
image
Line with bug

Memory Leak with Batch and Offline Translator

Describe the bug
GPU Memory is not released after the translation process is completed

To Reproduce
Steps to reproduce the behavior:

  1. Run either Batch or Offline Translator
  2. Open Task Manager and see GPU memory go up but not down

Expected behavior
GPU Memory gets released after process is completed

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11

Additional context
Likely due to sigkill not shutting down the flask server properly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.