- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thanks for reaching out to us.
First create a virtual environment using the below command
conda create -n -c intel python=2 pip numpy source activate
Command to install pytorch
conda install pytorch-cpu torchvision -c pytorch
Go to python shell and import using the command
import torch Thanks, Dilraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the guide line....but will you please make it clear where (which prompt) to form the virtual environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In the terminal please give the below command
conda create -n Vaidehi -c intel python=2 pip numpy Virtual Name : Vaidehi Thanks, Dilraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could instal pytorch using steps you gave.
But import torch still did not work in jupyter notebook, it worked though on python shell accessed under virtual environment
one more doubt regarding jupyter:
how to save and submit script file prepared using jupyter ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please find the details
source activate conda install ipykernel ipython kernel install --name --user
Once this is done, launch your python code from hub.colfaxresearch.com
Select Kernel -> Change Kernel ->
Do try out and check if this works!
Thanks,
Dilraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We did not receive any response, so we are closing the case for now.
Thanks,
Dilraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, it worked....it didn't give me any error when i imported pytorch from jupyter notebook
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page