Comments (6)
I find the data struct is different from described on website.
So you read like this: 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'?
Also key_word "lines" is in *LinesAndVP.mat.
from afm_cvpr2019.
I find the data struct is different from described on website.
So you read like this: 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'?
Also key_word "lines" is in *LinesAndVP.mat.
yes,it is different from described on website.
It's the same with 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'
The temporary solution is not to execute “python preparation_york.py”
Do you have some good ideas?
from afm_cvpr2019.
I find the data struct is different from described on website.
So you read like this: 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'?
Also key_word "lines" is in *LinesAndVP.mat.yes,it is different from described on website.
It's the same with 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'
The temporary solution is not to execute “python preparation_york.py”Do you have some good ideas?
I modified code in preparation_york.py like :
$ test_lst = glob.glob(osp.join(data_root,'P*'))
$ test_lst = [osp.basename(f) for f in test_lst]
$def load_datum(filename):
$ image = cv2.imread(osp.join(data_root,filename,filename)+'.jpg')
$ lsgs = sio.loadmat(osp.join(data_root,filename,filename)+'LinesAndVP.mat')['lines']
mainly changed target pic path and mat path. Then run OK
from afm_cvpr2019.
I find the data struct is different from described on website.
So you read like this: 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'?
Also key_word "lines" is in *LinesAndVP.mat.yes,it is different from described on website.
It's the same with 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'
The temporary solution is not to execute “python preparation_york.py”
Do you have some good ideas?
I modified code in preparation_york.py like :
$ test_lst = glob.glob(osp.join(data_root,'P*'))
$ test_lst = [osp.basename(f) for f in test_lst]
$def load_datum(filename):
$ image = cv2.imread(osp.join(data_root,filename,filename)+'.jpg')
$ lsgs = sio.loadmat(osp.join(data_root,filename,filename)+'LinesAndVP.mat')['lines']
mainly changed target pic path and mat path. Then run OK
Thanks for your reply.
I did it like what you had done.
It's ok now.Thanks!!
My requirement is to train the images in outside scenes.
Have you train the "york" dataset?
I read the "afm_atrous.yaml" and "readme.md",only "wireframe" can train,the "york" folder can only be tested.
The "wireframe" folder have the "train.json" ,while the "york" folder didn't
Do you have some ideas? thank you!
from afm_cvpr2019.
I find the data struct is different from described on website.
So you read like this: 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'?
Also key_word "lines" is in *LinesAndVP.mat.yes,it is different from described on website.
It's the same with 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'
The temporary solution is not to execute “python preparation_york.py”
Do you have some good ideas?
I modified code in preparation_york.py like :
$ test_lst = glob.glob(osp.join(data_root,'P*'))
$ test_lst = [osp.basename(f) for f in test_lst]
$def load_datum(filename):
$ image = cv2.imread(osp.join(data_root,filename,filename)+'.jpg')
$ lsgs = sio.loadmat(osp.join(data_root,filename,filename)+'LinesAndVP.mat')['lines']
mainly changed target pic path and mat path. Then run OKThanks for your reply.
I did it like what you had done.
It's ok now.Thanks!!
My requirement is to train the images in outside scenes.
Have you train the "york" dataset?
I read the "afm_atrous.yaml" and "readme.md",only "wireframe" can train,the "york" folder can only be tested.
The "wireframe" folder have the "train.json" ,while the "york" folder didn't
Do you have some ideas? thank you!
On the way of training .
from afm_cvpr2019.
I find the data struct is different from described on website.
So you read like this: 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'?
Also key_word "lines" is in *LinesAndVP.mat.yes,it is different from described on website.
It's the same with 'P1020171/P1020171.jpg' and 'P1020171/P1020171LinesAndVP.mat'
The temporary solution is not to execute “python preparation_york.py”
Do you have some good ideas?
I modified code in preparation_york.py like :
$ test_lst = glob.glob(osp.join(data_root,'P*'))
$ test_lst = [osp.basename(f) for f in test_lst]
$def load_datum(filename):
$ image = cv2.imread(osp.join(data_root,filename,filename)+'.jpg')
$ lsgs = sio.loadmat(osp.join(data_root,filename,filename)+'LinesAndVP.mat')['lines']
mainly changed target pic path and mat path. Then run OKThanks for your reply.
I did it like what you had done.
It's ok now.Thanks!!
My requirement is to train the images in outside scenes.
Have you train the "york" dataset?
I read the "afm_atrous.yaml" and "readme.md",only "wireframe" can train,the "york" folder can only be tested.
The "wireframe" folder have the "train.json" ,while the "york" folder didn't
Do you have some ideas? thank you!
On the way of training .
okay , I'm waiting for your reply~
If possible,My email is [email protected]
We can email each other~
from afm_cvpr2019.
Related Issues (20)
- OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root. HOT 2
- ValueError: num_samples should be a positive integer value, but got num_samples=0 HOT 10
- 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"
- 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.