Code Monkey home page Code Monkey logo

deepcreampy's People

Contributors

0xb8 avatar ccppoo avatar cooldotty avatar deeppomf avatar deniszh avatar dependabot[bot] avatar iamtheredspy avatar imgbotapp avatar kadantte avatar maharaghi avatar naphteine avatar nivkner avatar samanthaclarke1 avatar skygate2012 avatar smethan avatar socram8888 avatar startlestars avatar vbe0201 avatar vocalfan avatar wuestengecko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

deepcreampy's Issues

Updating dependencies

I am planning to slowly start working on updating dependencies. They're too old and it's kind of hard to work on this project right now. Does anyone have any issue with this? Thank you.

Fatal error detected

"Failed to execute script main"

OS:Windows 10 22H2
Problem with starting exe file.

Bad output results

Describe the bug
Output results for mosaics appear in low-resolution with bright orange patches in masked area. Bar decensors seem to work fine. Original DCP 2.2.0 beta build also seems to work fine.

To Reproduce
Steps to reproduce the behavior:

  1. Use Anaconda with a 3.7 environment + required packages.
  2. Run main.py.
  3. Decensor masked images.
  4. Observe results.

Expected behavior
Output should not contain bright orange or low resolution patching in masked area.

Screenshots
https://i.imgur.com/GqEKp2i.png

Installation method
Running source code. Did not install with binary.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 22H2
  • Yes

Could you add a script for clearing folders with only one button and not manually deleting files

So here is the code I made. Take it to consideration. It is helpful for me to clear input/output folders after decensoring videos. As manually opening 3 folders and deleting all files is too long. I use it as a file in the folder and adding a shortcut should as well work. If you implement it to the main UI if it is usefull for you.
You can use this code or modify it as you wish.

P.S. Can't write code in a good way(makrdown messing up the code even if I use code fomating) here so adding a text file.
ClearDCPFolders.txt

`
import os
from typing import Union

def clear_folder(folder_path: Union[str, bytes]) -> None:
try:
for filename in os.listdir(folder_path):
file_path = os.path.join(folder_path, filename)
if os.path.isfile(file_path):
os.remove(file_path)
elif os.path.isdir(file_path):
clear_folder(file_path)
print(f"Content of '{folder_path}' cleared successfully.")
except Exception as e:
print(f"Error clearing content of '{folder_path}': {e}")

def main():
folders_to_clear = ["decensor_input", "decensor_input_original", "decensor_output"]
for folder in folders_to_clear:
folder_path = os.path.join(os.path.dirname(file), folder)
clear_folder(folder_path)

if name == "main":
main()
`

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.