Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
5b5f6a0
to tensorflow 2/keras
bogeyturn Feb 2, 2025
439873d
change filename
bogeyturn Feb 2, 2025
6f73bde
setup app which will use the lib
bogeyturn Feb 2, 2025
2ffc7c3
implement own ceil method
bogeyturn Feb 4, 2025
441ffd4
release
bogeyturn Feb 4, 2025
ca07156
on release
bogeyturn Feb 4, 2025
863126b
add spec
bogeyturn Feb 4, 2025
e8c249d
add main.spec
bogeyturn Feb 4, 2025
2974904
downgrade
bogeyturn Feb 4, 2025
5c05109
single file
bogeyturn Feb 4, 2025
15265ca
upgrade pyinstaller
bogeyturn Feb 4, 2025
8f03b54
dont create release
bogeyturn Feb 4, 2025
5f29e7b
hopefully right upload_url
bogeyturn Feb 4, 2025
7499264
remove options
bogeyturn Feb 4, 2025
f934e07
make lib
bogeyturn Feb 4, 2025
a9e3818
app stuff & docs & more
bogeyturn Feb 5, 2025
ae17ca0
train loop
bogeyturn Feb 5, 2025
9fb9b9c
bugfix
bogeyturn Feb 5, 2025
a8bfc08
fix contextual_block.py
bogeyturn Feb 5, 2025
2500c2e
add todo
bogeyturn Feb 5, 2025
b5d334f
i hate myself
bogeyturn Feb 5, 2025
6107765
fix disciminator
bogeyturn Feb 5, 2025
992a050
keras load_model & save_model & bugfix if 0 epochs & optimizer variab…
bogeyturn Feb 6, 2025
eaff21c
convert model
bogeyturn Feb 6, 2025
4ade796
test now working properly
bogeyturn Feb 6, 2025
b5543a6
delete old code
bogeyturn Feb 6, 2025
5bdf4bd
better mask
bogeyturn Feb 6, 2025
e4b11d2
forgot attr
bogeyturn Feb 6, 2025
7f4d730
model now in class
bogeyturn Feb 6, 2025
8a19772
add logger(no print)
bogeyturn Feb 6, 2025
c256bcc
add logger(no print)
bogeyturn Feb 6, 2025
65ee630
add logger
bogeyturn Feb 6, 2025
437a2d6
cli&server
bogeyturn Feb 6, 2025
e869229
frontend
bogeyturn Feb 7, 2025
785bf9e
dont commit .keras files
bogeyturn Feb 7, 2025
c6eddbb
rename
bogeyturn Feb 7, 2025
9134c11
rename
bogeyturn Feb 7, 2025
785deae
rename
bogeyturn Feb 7, 2025
dad91d4
minor improvements
bogeyturn Feb 7, 2025
17cfa7a
more server stuff
bogeyturn Feb 7, 2025
0f2963c
stop tasks server
bogeyturn Feb 7, 2025
a05dd16
some changes
bogeyturn Feb 8, 2025
e632a9b
get it working
bogeyturn Feb 8, 2025
48d24a0
ui
bogeyturn Feb 8, 2025
0c8c442
format
bogeyturn Feb 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Release CLI Binaries

on:
release:
types: [ published ]

jobs:
build:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ] # macos-13 for x86_64 support?
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Build executable with Versatile PyInstaller
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.12'
pyinstaller_ver: '==6.11.1'
requirements: 'server/requirements.txt'
spec: 'server/main.spec'
upload_exe_with_name: 'DeepCreamPy-${{ runner.os }}'

release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: artifacts

- name: Upload Windows binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: artifacts/DeepCreamPy-Windows/DeepCreamPy.exe
asset_name: DeepCreamPy-x86_64-pc-windows.exe
asset_content_type: application/octet-stream

- name: Upload Linux binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: artifacts/DeepCreamPy-Linux/DeepCreamPy
asset_name: DeepCreamPy-x86_64-unknown-linux
asset_content_type: application/octet-stream

- name: Upload macOS binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: artifacts/DeepCreamPy-macOS/DeepCreamPy
asset_name: DeepCreamPy-aarch64-apple-darwin
asset_content_type: application/octet-stream
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea

# Generated files
.idea/**/contentModel.xml
Expand Down Expand Up @@ -247,6 +248,8 @@ $RECYCLE.BIN/
*.msm
*.msp

.DS_Store

# Windows shortcuts
*.lnk

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
A deep learning-based tool to automatically replace parts of artworks with plausible reconstructions.

Before using DeepCreamPy, the user must mark regions in the artwork using green color with an image editing program (e.g., GIMP, Photoshop). DeepCreamPy takes the images with green colored regions as input, and a neural network automatically fills in the highlighted regions.
You could also create a mask file that is white where the image needs to be decensored

You can download the latest release for Windows 64-bit [here](https://github.com/Deepshift/DeepCreamPy/releases/latest).
You can download the latest release [here](https://github.com/Deepshift/DeepCreamPy/releases/latest).

For users interested in compiling DeepCreamPy themselves, DeepCreamPy can run on Windows, Mac, and Linux.

Expand All @@ -37,7 +38,7 @@ It does NOT work with:

## Table of Contents
Setup:
* [Running latest Window 64-bit release](docs/INSTALLATION_BINARY.md)
* [Running latest release](docs/INSTALLATION_BINARY.md)
* [Running code yourself](docs/INSTALLATION.md)

Usage:
Expand All @@ -49,8 +50,6 @@ Miscellaneous:
* [FAQ](docs/FAQ.md)

## To do
- Moving to PyTorch or newer versions of TensorFlow
- Improving UI
- Error logging

## Contributions
Expand Down
30 changes: 0 additions & 30 deletions cleardcp.py

This file was deleted.

43 changes: 0 additions & 43 deletions config.py

This file was deleted.

Loading