Installation instructions for setting up a GCP VM with Tensorflow-gpu.
- Select
Compute Engine > VM Instances > Create Instance.
- Specify
Name
,Region
, andZone
. Note, the zone must support GPU instances.
After updating pyenv (such as through a brew upgrade
), run pyenv rehash
to reset the shim routes. Otherwise, you get errors like:
/Users/[USER]/.pyenv/shims/python2: line 21: /usr/local/Cellar/pyenv/1.2.4/libexec/pyenv: No such file or directory
GameObject
. This takes some time during which Unity will hang. The resulting GameObject
will be in the same directory as the PLY.GameObject
to your scene.Transform
component on the GameObject
.brew install pcl
brew info pcl
cp $(PCL_INSTALL_DIR)/pcl_viewer.app/Contents/MacOS/pcl_viewer /usr/local/bin
pcl_ply2pcd [INFILE] [OUTFILE]
pcl_viewer -use-point-picking [PCD_FILE]
# When you receive "warning: null character(s) ignore", there is a null byte hidden number in the source code. | |
# This is likely the result of creating a file in Visual Studio which defaults to UTF-16LE and trying to read | |
# it back as UTF8. | |
# To check text encoding of the file, run the following and retrieve the `charset` | |
file -I [FILE] | |
# To convert the file to UTF8 (or any other encoding) | |
iconv -f [CURRENT_ENCODING] -t UTF8 [FILE] > temp | |
mv temp [FILE] |
# Run in powershell | |
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey |
extension URL { | |
static func createDirectory(_ dirName: String) -> URL? { | |
let fileManager = FileManager.default | |
if let documentDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask).first { | |
let dirPath = documentDirectory.appendingPathComponent(dirName) | |
if !fileManager.fileExists(atPath: dirPath.path) { | |
do { | |
try fileManager.createDirectory(atPath: dirPath.path, | |
withIntermediateDirectories: true, | |
attributes: nil) |