deepshift / deepcreampy Goto Github PK
View Code? Open in Web Editor NEWdeeppomf's DeepCreamPy + some updates
License: GNU Affero General Public License v3.0
deeppomf's DeepCreamPy + some updates
License: GNU Affero General Public License v3.0
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.
Add trained models to repositories
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()
`
"Failed to execute script main"
OS:Windows 10 22H2
Problem with starting exe file.
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:
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):
Seems that Tensorflow has been pretty much abandoned gpu support on Windows and Jax is used internally at Google, is there any plans to just switch to PyTorch? I am also unable to get my gpu to load the mosaic model even with the --is_mosaic=True
argument.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.