-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:simplymathematics/deckard into repr…
…oduce
- Loading branch information
Showing
254 changed files
with
83,396 additions
and
1,336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
To build the package (optional and is a very rough draft): | ||
|
||
``` | ||
###################################### | ||
# Ubuntu 22.04, 20.04 | ||
sudo apt update | ||
sudo apt install python3-venv python3-pip python3-dev python3-setuptools | ||
sudo apt install software-properties-common -y | ||
sudo add-apt-repository ppa:deadsnakes/ppa | ||
sudo apt install python3.9 -y | ||
sudo apt install msttcorefonts -qqpython3-distutils #fonts (optional) | ||
export SETUPTOOLS_USE_DISTUTILS=stdlib | ||
###################################### | ||
python3 -m venv env | ||
source env/bin/activate | ||
git clone --recurse-submodules -j8 https://github.com/simplymathematics/deckard.git | ||
# git submodule update --init --recursive # To just update the submodules | ||
python3 -m pip install deckard/adversarial-robustness-toolbox/ | ||
python3 -m pip install -e deckard/ | ||
python3 -m pip install pyinstaller | ||
python3 -m pip install -u numba pip setuptools | ||
cd deckard && pyinstaller --onefile deckard.py -n deckard | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.