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
from __future__ import print_function, division | |
import os | |
import shutil | |
import time | |
count = 0 | |
unsortable_directory = "unsorted" | |
print("Sort Photos") |
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
''' | |
Converts a single heightmap to a tiled heightmap | |
Usage: | |
in a CLI/powershell: | |
> python convert_l3dt_to_ue4.py '<path to input hm>' '<path to output directory' <output size> | |
Example: | |
> python convert_l3dt_to_ue4.py 'c:/l3dt/hm.png' 'c:/l3dt/output' 512 | |
''' |
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
""" | |
Extract Block Data for Space Engineers | |
Author: Czorio | |
Updated: 2020-01-30 (5) | |
Tested on: Python 3.7.4-x64 | |
Usage: | |
Modify the se_path variable to point at your SE install location. Run the script to generate a Dict.txt file in your current directory. | |
This Dict.txt file should have slightly formatted C# code that declares and initializes a Dictionary for use in SE scripts. |
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
# syntax=docker/dockerfile:1 | |
# PyTorch3D supports up to PyTorch 1.11, 22.02 is the last image to use 1.11 before they | |
# upgrade to 1.12 | |
FROM nvcr.io/nvidia/pytorch:22.02-py3 | |
WORKDIR /app | |
ARG DEBIAN_FRONTEND=noninteractive | |
ENV TZ=Europe/Amsterdam | |
# Get the basic Linux packages upgraded and get the development tools setup |