Installing Conda in Google Colab - Tips Tricks 38

  Рет қаралды 13,894

DigitalSreeni

DigitalSreeni

Күн бұрын

Installing Conda in Google Colab
Code generated in the video can be downloaded from here:
github.com/bns...
All other code: github.com/bns...
This tutorial guides you through the process of installing Conda in your Colab.
Why do you need conda on Colab? Among other benefits, certain packages require Conda for installation. For example, trackpy installation: soft-matter.git...
Trackpy strongly recommends using Conda and not pip. Therefore, we need to set up conda environment for our colab notebook.
Miniconda system requirements: docs.conda.io/...

Пікірлер: 29
@cavanaulton8405
@cavanaulton8405 2 ай бұрын
Very helpful thank you
@starrysky6681
@starrysky6681 5 ай бұрын
Hi, thank you very much for your work. I would like to know why after "!conda install -c condaforge pims" I have "Solving environment: failed with initial frozen solve. Retreating with flexible solve." and then the code does not work
@DigitalSreeni
@DigitalSreeni 5 ай бұрын
You can try setting up Conda channels and then installing the package: !conda config --add channels conda-forge !conda install pims
@subhamsingh8610
@subhamsingh8610 Жыл бұрын
Thanks a lot !!!
@monicasantamaria2020
@monicasantamaria2020 Жыл бұрын
I tried this procedure but installing Miniconda3 with python 3.8 (which I need for my package to work) and it does not work. Essentially, after installing the package and verifying it is installed with pip list, I get: "Module not found Error". Do you have any suggestions to solve this?
@yasntrktr
@yasntrktr Жыл бұрын
Same
@siddharth84s
@siddharth84s 2 жыл бұрын
Thank you
@CR33D404
@CR33D404 10 ай бұрын
That doesn't depend on your internet speed its already running on Google's cloud
@farnooshjoulaeian1550
@farnooshjoulaeian1550 10 ай бұрын
Thanks for the lectures. I have a questions: in every frame , we find different number of obj ( close to each other ofcourse). my problem is as following: like the first particle in 1 frame is not the same 1st particle in a second frame. maybe it is detected in 1st 3rd frames but not in 2nd. how do I manage this?
@KarthikeyanM-bs7ib
@KarthikeyanM-bs7ib 5 ай бұрын
I was struggling with the issue of installing a package but not able to import it. Your video helped me out. Issue resolved after adding the site-packages to the sys.path. Thank you!
@nuwaisir
@nuwaisir 2 жыл бұрын
You can use the --yes flag to automatically answer yes. e.g.: conda install [package_name] --yes
@renardi_adryan
@renardi_adryan 2 жыл бұрын
Hello, How do we create multiple env? i use conda activate [name env] that doesnt work. Could you help me?
@chrislloyd1734
@chrislloyd1734 2 жыл бұрын
That is what I would like to know also.
@EyaBesbes-yd2gu
@EyaBesbes-yd2gu 5 ай бұрын
I'm also facing the same problem
@ajay0909
@ajay0909 2 жыл бұрын
Every time you amaze me sir. Hats off for the explanation you give.
@anirudhthatipelli8765
@anirudhthatipelli8765 Жыл бұрын
Thanks, this is very useful!
@beautyIsinEverything753
@beautyIsinEverything753 2 жыл бұрын
hello sir I am trying to install torch=0.4.1 version using conda on colab but i am unable to do so. kindly also explain what is CUDA and how to use it with pytorch
@SUDHIRSINGH-zh1du
@SUDHIRSINGH-zh1du 2 жыл бұрын
Hello sir, I want to use image segmentation or semantic segmentation for joints mapping in rock structure how to label the output images to get just joints in output ?? I have tried video 67 but getting very low accuracy of 60%
@abderrahmaneherbadji5478
@abderrahmaneherbadji5478 2 жыл бұрын
Hello Mr. Sreeni. Thank you for your amazing videos. Please, do not consider recording videos on machine learning/deep learning with C++ (Visual Code) ?. All the best.
@vovaermakov
@vovaermakov Жыл бұрын
I followed the steps, but Colab interactive notebook boxes are not using the same python version/libraries as I installed via pip under conda. Ex. I installed keras 2.2.4 via pip, but import keras print(keras.__version__) shows 2.9 even after restarting. Also python --version shows 3.7 while import sys print (sys.version) shows 3.8 .... any tips how to make Colab notebook use the same python/pip version as installed with Conda? Thank you!
@vovaermakov
@vovaermakov Жыл бұрын
For what its worth I found a workaround: %%python in the beginning of the cell will run the cell content with the 3.7 version that I installed. It probably won't share variables from other cells but this worked for me.
@necuspam
@necuspam Жыл бұрын
Hi, great tutorial (again)! Can you please provide an instruction on how to get porespy working in colab?
@patis.IA-AI
@patis.IA-AI 10 ай бұрын
Sorry .... again , a very very usefull tuto great !! thanks .
@DigitalSreeni
@DigitalSreeni 10 ай бұрын
Glad it was helpful!
@alkalinebase
@alkalinebase 2 жыл бұрын
Thankyou so so much!
@Anon_life
@Anon_life 2 жыл бұрын
THANK YOU SIR
@RAZZKIRAN
@RAZZKIRAN 2 жыл бұрын
In 158 b video , i am getting this error. from keras.utils import to_categorical y_train_one_hot = to_categorical(y_train) y_test_one_hot = to_categorical(y_test) ImportError Traceback (most recent call last) in () ----> 1 from keras.utils import to_categorical 2 y_train_one_hot = to_categorical(y_train) 3 y_test_one_hot = to_categorical(y_test) ImportError: cannot import name 'to_categorical' from 'keras.utils' (/usr/local/lib/python3.7/dist-packages/keras/utils/__init__.py)
@DigitalSreeni
@DigitalSreeni 2 жыл бұрын
See if this works: from tensorflow.keras.utils import to_categorical
@RAZZKIRAN
@RAZZKIRAN 2 жыл бұрын
@@DigitalSreeni from tensorflow.keras.utils import to_categorical y_train_one_hot = to_categorical(y_train) y_test_one_hot = to_categorical(y_test) i tried sir, but getting error. in amax(*args, **kwargs) /usr/local/lib/python3.7/dist-packages/numpy/core/fromnumeric.py in _wrapreduction(obj, ufunc, method, axis, dtype, out, **kwargs) 84 return reduction(axis=axis, out=out, **passkwargs) 85 ---> 86 return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 87 88 ValueError: zero-size array to reduction operation maximum which has no identity
Tips Tricks 19 - colab vs colab pro vs purchasing your own system
35:32
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,7 МЛН
Installing conda on Google Colab for Data Science
7:54
Data Professor
Рет қаралды 18 М.
The only CONDA tutorial you'll need to watch to get started
10:56
Coding Professor
Рет қаралды 51 М.
2-PyCaret installation on Windows and Google Colab
17:10
Pedram Jahangiry
Рет қаралды 3,1 М.
Loading Kaggle data directly into Google Colab
10:45
DigitalSreeni
Рет қаралды 45 М.
147 - Getting started with Google Colaboratory for deep learning
15:06
Setting-up SQL on Google Colab
21:56
Zindua School
Рет қаралды 7 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,7 МЛН