Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

A compilation of hacks and resources for your next AI project or research work

Notifications You must be signed in to change notification settings

CSI-Research-Community/Practical-AI-Hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

Practical AI Hub

Tips, Tricks and Hacks for your AI Research, and R&D Projects


Literature Survey

Experimentation with Code

  • Papers with code is probably the best resource on the internet for finding the SOTA papers that have code available with them
  • You might also want to check out the associated github repositories
  • Arxiv also has a code tab where you can found the source code used in the experiments of the corresponding if the author has made it public
  • This is the one I've used the least but might just help you so check out catalyzeX

Free/Cheap GPU Environments

Environment Setup

CUDA

  • Installing and using Multiple CUDA versions on one system: One of the roadblocks to trying out all the SOTA and other past works of a DL domain is the differences in their requirement of Nvidia's CUDA library. Most modern Deep Learning applications and code bases can require CUDA versions ranging from 8.0 to whatever the latest one is. Now, probably the best solution to this is using docker containers with specifically made base image (more on this below). But for people looking for another solution (I use this often when I want to quickly test out some code and sometimes even for big projects) this blog might be what you are looking for.

  • Using GPU inside Docker: Check out this tutorial on CUDA docker or this detailed blog or if you're familiar with docker then go to the Nvidia CUDA's dockerhub page.

Random Tips

  • When working with multiple environments in the same system (python specific):
    • Make sure you have disabled the other environments to avoid package version clashes
    • If there are still clashes then try to use commands that specify the environment or directory
      • For example, for installing packages to the environment you are currently in and not affecting anything outside you can use something like
            python -m pip ...
      • Or when working with Anaconda or Virtual Env if you cannot import packages from that venv then you can try something like
            <path-to-venv>/bin/python [what you want to execute]

Suspiciously Specific 🤔

  • If you are having problems installing something (especially Deep Learning tools and frameworks) then sometimes just trying the different methods for installation can work for some reason

  • Always go for the .deb file and avoid .run files if you're using ubuntu

  • It is always a good idea NOT to use the '-y' flag and instead check everything that will be modified during an installation

  • Sometimes you just have to install all the dependencies manually (or write a script full of try-catches and if-elses) when you have conflicts with previous installations or other packages

About

A compilation of hacks and resources for your next AI project or research work

Topics

Resources

Stars

Watchers

Forks