Comments (1)
So I figured out a solution for this. At the time of writing this, Google Colab default CUDA version is 10.1 and python is 3.7; I downgrade the tensorflow on Colab to 1.15.2 so it's more compatible with CUDA 10.1 and the code written in this repo using the code below
%tensorflow_version 1.x
import sys
import tensorflow
print(tensorflow.__version__)
Also need to install gcc/g++ before I can run makefile
!apt-get install -qq gcc-5 g++-5 -y
!ln -s /usr/bin/gcc-5
!ln -s /usr/bin/g++-5
!sudo apt-get update
!sudo apt-get upgrade
The first three lines of the makefile can be edit as below (this is the path/directory on Google Colab; not sure if you can manually change this or that if you want to/should do that)
nvcc = /usr/local/cuda/bin/nvcc
cudalib = /usr/local/cuda/lib64
tensorflow = /usr/local/lib/python3.6/dist-packages/tensorflow/include
then after mounting the Google Drive and change directory to makefile and cpp files location, I run make as below
%cd /content/drive/My\ Drive/path/to/makefile/
!make
and voila, it worked like a charm. Leave this here in case someone interested in doing the same thing as I'm doing right now in the future and got stuck :)
from latent_3d_points.
Related Issues (20)
- 'approx_match' is not defined? HOT 2
- No module named latend_3d_points.src.ae_templates HOT 4
- Training my own data
- Training my own data
- Question about SVM training. HOT 4
- The original shapenetcore dataset HOT 3
- Info on clock time per epoch (approximately)
- Where can I get modelnet10 dataset in xyz format
- tf_nndistance_so.so: undefined symbol: __cudaRegisterFunction HOT 1
- NameError: global name 'nn_distance' is not defined HOT 1
- How can I download your dataset?
- How to use D-FAUST database?
- train_single_class_ae.py : IndexError: list index out of range HOT 2
- EMD code
- Cannot compile the EMD/Chamfer losses HOT 1
- [AD] Yet another EMD implementation for dense point clouds HOT 1
- Running on GPU HOT 1
- Any pytorch implementation available
- NameError: name 'raw_input' is not defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latent_3d_points.