Comments (10)
I also encountered this problem, the solution is: delete the .cache folder under data / wireframe, and then run python train.py again.
from afm_cvpr2019.
@tianyu0523 Did you get a semgentation fault the previous time you ran that command? Because that is happening with me, and I traced it to the fact that the cache wasn't being built because something about the lib.afm_op
custom code is failing and seg faulting on my AWS EC2 instance.
So if you comment out lines 48 - 53 in dataset/cache.py
maybe you'll also see the same segmentation fault that I'm seeing?
from afm_cvpr2019.
I'm wondering if there's anything incompatible with the custom cuda operator to CUDA version 9.0 because on the AWS EC2 instance it's running CUDA version 10.1...
from afm_cvpr2019.
I guess this problem is caused by the cache directory. Please try to clean up the data/.cache directory and run the command again.
from afm_cvpr2019.
I'm wondering if there's anything incompatible with the custom cuda operator to CUDA version 9.0 because on the AWS EC2 instance it's running CUDA version 10.1...
I tested my code on several machines with CUDA 9.0, 9.2 and 10.0, there is no incompatible issue.
from afm_cvpr2019.
@cherubicXN thank you for replying!
I have a local GPU running ubuntu v. 18.04, python 3.6, and CUDA 9.2 and I have gotten your code working, but I still can't get it to run on the pytorch_p36 environment on the AWS EC2 GPU machines (p3.2xlarge, with python 3.6, cuda 10.1). For me it fails with a segmentation fault (!) at line 97 in cache.py where the command to the custom code is called:
afmap, label = afm(lines.cuda(),shape_info.cuda(), self.afm_res[0],self.afm_res[1])
If you're able to provide any input on this, so that I can run it on the new AWS EC2 instances, that'd be great!
from afm_cvpr2019.
@tianyu0523 Did you get a semgentation fault the previous time you ran that command? Because that is happening with me, and I traced it to the fact that the cache wasn't being built because something about the
lib.afm_op
custom code is failing and seg faulting on my AWS EC2 instance.So if you comment out lines 48 - 53 in
dataset/cache.py
maybe you'll also see the same segmentation fault that I'm seeing?
Yes. I met the same issue 'Segmentation fault (core dumped)' when I run the code on remote machine.
from afm_cvpr2019.
Are you using an AWS EC2 instance, running CUDA 10.1 on python 3.6? If yes, then that version of CUDA may be the problem-I just dont know how to fix it!
from afm_cvpr2019.
@cherubicXN
I need help in knowing if anyone trained the model for category-specific objects (introducing a new oject category)
I need somewhat precise 2D contour detection that'll allow me to overlay a 3D wireframe on top of that.
Any help will be appreciated.
from afm_cvpr2019.
I change the 'shuffle=False' in line 17 of build.py and it works.
from afm_cvpr2019.
Related Issues (20)
- OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root. HOT 2
- Results wrong when testing at different input resolutions HOT 2
- skipping 'squeeze.cpp' Cython extension (up-to-date)
- ImportError: No module named 'squeeze.squeeze' HOT 5
- Threshold of the aspect ratio. HOT 2
- How can I evaluate a photo not in the dataset HOT 3
- no module named squeeze HOT 11
- Atrous Residual VS Unet. HOT 1
- The dataset can not be downloaded,why is it? HOT 2
- ImportError: /home/afm_cvpr2019-master/lib/afm_op/CUDA.cpython-36m-x86_64-linux-gnu.so: undefined symbol: __cudaRegisterFatBinaryEnd HOT 5
- How to evaluate the pre-trained model on my own images? HOT 1
- what`s the mean? did it succeed?
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- Open dataset? HOT 1
- error"conda develop ../lib"
- error"python preparation_york.py" KeyError:'line' HOT 6
- unrecognized error code HOT 1
- evaluate
- 怎么在自己图像上测试线段检测 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afm_cvpr2019.