Giter Site home page Giter Site logo

Comments (8)

igygi avatar igygi commented on July 2, 2024 2

You can try building the environment using conda. Try this for your torch installation:

conda install pytorch=0.4.0 cuda90 -c pytorch. From my experience, this works with 2080Ti.

from panet.

ZY-Zeng avatar ZY-Zeng commented on July 2, 2024 2

cool!!!!! It works! Thank you very much again!!!

from panet.

ZY-Zeng avatar ZY-Zeng commented on July 2, 2024

I have a same problem about 2080Ti and try building the environment that you said. But it not works.
So, can you give me more detail information about your environment. (The version of all packages)
Thank thank thank you !!!

from panet.

igygi avatar igygi commented on July 2, 2024

What error are you encountering when building the environment?

Here are the steps I took to build my environment:

1. Create a conda environment for PANet with python version 3.6: $ conda create -n <env-name> python=3.6.8
2. Activate the conda environment: $ conda activate <env-name>
3. Install the required packages:
cython			$ conda install cython
matplotlib		$ conda install matplotlib
scipy			$ conda install scipy
opencv			$ conda install -c conda-forge opencv
pyyaml			$ conda install pyyaml
packaging		$ conda install packaging
pycocotools		$ conda install -c hcc pycocotools
tensorboardX		$ conda install -c conda-forge tensorboardx
pandas			$ conda install pandas
pytorch 0.4.0		$ conda install pytorch=0.4.0 cuda90 -c pytorch
torchvision 0.2.1		$ conda install torchvision=0.2.1

Note: Make sure to install pytorch 0.4.0 with cuda 9.0 support. The command specified above should accomplish this.
	
4. Go to the lib directory inside the PANet folder: 
$ cd PANet
$ cd lib
5. Edit make.sh file and uncomment the line -gencode arch=compute_70,code=sm_70 "
5. Run sh make.sh

from panet.

ZY-Zeng avatar ZY-Zeng commented on July 2, 2024

@igygi Well! Very very very thank you for your timely reply. I will try it in the afternoon.

from panet.

lixiuyu-cumt avatar lixiuyu-cumt commented on July 2, 2024

@ZY-Zeng @igygi I have the same question, I want to know whether you install the cuda9.0? ,or you just use the commad "conda install pytorch=0.4.0 cuda90 -c pytorch" and not install cuda9.0?

from panet.

ZY-Zeng avatar ZY-Zeng commented on July 2, 2024

@ZY-Zeng @igygi I have the same question, I want to know whether you install the cuda9.0? ,or you just use the commad "conda install pytorch=0.4.0 cuda90 -c pytorch" and not install cuda9.0?

Of course. You need install cuda 9.0 before creation of environment.

from panet.

lixiuyu-cumt avatar lixiuyu-cumt commented on July 2, 2024

@ZY-Zeng @igygi I have the same question, I want to know whether you install the cuda9.0? ,or you just use the commad "conda install pytorch=0.4.0 cuda90 -c pytorch" and not install cuda9.0?

Of course. You need install cuda 9.0 before creation of environment.

I installed cuda 9.0 after creating the environment, and I followed the steps step by step installation.But I encountered the question

"THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1524586445097/work/aten/src/THC/THCGeneral.cpp line=844 error=11 : invalid argument
cudaCheckError() failed : no kernel image is available for execution on the device
"
Has this ever happened to you? Have you installed the correspoding cudnn?Maybe RTX2080Ti is not compatible with CUDA9.0?

from panet.

Related Issues (20)

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.