Code Monkey home page Code Monkey logo

Comments (6)

SueeH avatar SueeH commented on September 27, 2024

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.

shuttworth avatar shuttworth commented on September 27, 2024

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.

SueeH avatar SueeH commented on September 27, 2024

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.

shuttworth avatar shuttworth commented on September 27, 2024

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.

SueeH avatar SueeH commented on September 27, 2024

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!
On the way of training .

from afm_cvpr2019.

shuttworth avatar shuttworth commented on September 27, 2024

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!
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)

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.