Giter Club home page Giter Club logo

udacity-cs344-colab's Introduction

udacity-cs344-colab

Open In Colab

Google Colab Notebooks for Udacity CS344 - Intro to Parallel Programming

Finish CS344 Projects online using Google's free GPU!

Getting Start

  • Click the ‘Open in Colab’ button.
  • Select notebook for your homework.
  • Run the first cell to setup environment.
  • Finish code in CUDA cell and execute the cell to save the code. rerun following cells to recompile and plot your result.

TODO

  • Make scripts & notebooks for Final

udacity-cs344-colab's People

Contributors

depctg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

udacity-cs344-colab's Issues

Solution for hw3 :bin formula

请问在hw3中使用的bin公式 bin = (lum[i] - lumMin) / lumRange * numBins 是否有问题。根据这个公式算出来的bin的数量其实为numBins+1,不知道如何处理比较好

Sent from PPHub For GitHub

making the cuda project reports error so that projects can't be made

Python displays these when building projects

[ 20%] Building NVCC (Device) object HW1/CMakeFiles/HW1.dir/HW1_generated_student_func.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_30'
CMake Error at HW1_generated_student_func.cu.o.cmake:222 (message):
When building projects, python displays as follows

Error generating
/content/udacity-cs344-colab/build/udacity-cs344-colab/build/udacity-cs344-colab/build/HW1/CMakeFiles/HW1.dir//./HW1_generated_student_func.cu.o

HW1/CMakeFiles/HW1.dir/build.make:63: recipe for target 'HW1/CMakeFiles/HW1.dir/HW1_generated_student_func.cu.o' failed
make[3]: *** [HW1/CMakeFiles/HW1.dir/HW1_generated_student_func.cu.o] Error 1
CMakeFiles/Makefile2:90: recipe for target 'HW1/CMakeFiles/HW1.dir/all' failed
make[2]: *** [HW1/CMakeFiles/HW1.dir/all] Error 2
CMakeFiles/Makefile2:102: recipe for target 'HW1/CMakeFiles/HW1.dir/rule' failed
make[1]: *** [HW1/CMakeFiles/HW1.dir/rule] Error 2
Makefile:118: recipe for target 'HW1' failed
make: *** [HW1] Error 2

====== RESULT OF HW1 =======

/bin/bash: bin/HW1: No such file or directory

I guess

Unsupported gpu architecture 'compute_30'

When I run the cell # make the cuda project of the colab notebook udacity-cs344-hw1 I faced such an error as below. Could you help me?

`
nvcc fatal : Unsupported gpu architecture 'compute_30'
CMake Error at HW1_generated_student_func.cu.o.cmake:222 (message):
Error generating
/content/udacity-cs344-colab/build/HW1/CMakeFiles/HW1.dir//./HW1_generated_student_func.cu.o

HW1/CMakeFiles/HW1.dir/build.make:63: recipe for target 'HW1/CMakeFiles/HW1.dir/HW1_generated_student_func.cu.o' failed
make[3]: *** [HW1/CMakeFiles/HW1.dir/HW1_generated_student_func.cu.o] Error 1
CMakeFiles/Makefile2:90: recipe for target 'HW1/CMakeFiles/HW1.dir/all' failed
make[2]: *** [HW1/CMakeFiles/HW1.dir/all] Error 2
CMakeFiles/Makefile2:102: recipe for target 'HW1/CMakeFiles/HW1.dir/rule' failed
make[1]: *** [HW1/CMakeFiles/HW1.dir/rule] Error 2
Makefile:118: recipe for target 'HW1' failed
make: *** [HW1] Error 2

====== RESULT OF HW1 =======

/bin/bash: bin/HW1: No such file or directory`

About opencv installation in Colab

Hi, I'm curious about how you manage to install the opencv requirements before compiling the code. Since I only see these before compilation

!git clone https://github.com/depctg/udacity-cs344-colab
!pip install git+git://github.com/depctg/nvcc4jupyter.git

# load cuda plugin
%config NVCCPluginV2.static_dir = True
%config NVCCPluginV2.relative_dir = "udacity-cs344-colab/src/HW1"
%load_ext nvcc_plugin

# change to work directory, generate makefiles
!mkdir udacity-cs344-colab/build
%cd udacity-cs344-colab/build
!cmake ../src

Could you please teach me about which command that finished the installation of the opencv?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.