Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question in data_loader.py #41

Open
ybcc2015 opened this issue Mar 22, 2019 · 6 comments
Open

question in data_loader.py #41

ybcc2015 opened this issue Mar 22, 2019 · 6 comments

Comments

@ybcc2015
Copy link

what these two codes mean in line 34 and 35?
ht_1 = int((ht/4)*4)
wd_1 = int((wd/4)*4)

@ybcc2015
Copy link
Author

why multiply by 4? hope to answer my doubts,thanks!

@EillotY
Copy link

EillotY commented Mar 22, 2019

i can't open the link of [Shanghai Tech A] and [Shanghai Tech B],here is my email:1203999822@qq.com,would u please send me the pre-trained model files .Thanks anyway.

@EillotY
Copy link

EillotY commented Mar 22, 2019

朋友FileNotFoundError: File b'./part_B_final/test_data/ground_truth/IMG_1.csv' does not exist
你的csv是根据步骤1,2,3,4,5来的吗 先得去matlab里生成吗 是这意思吗
还有目前我用的参数直接是ht,和wd,因为ht_1或者wd_1这样一成就变成浮点型了在img里不适用会报错

@Cli98
Copy link

Cli98 commented Jan 8, 2020

why multiply by 4? hope to answer my doubts,thanks!

This is a trick. Adapt size to multiple of 4

@ft-z
Copy link

ft-z commented Mar 29, 2020

Did anyone has problem about 'AttributeError: 'DataFrame' object has no attribute 'as_matrix''?
有人遇到这个问题吗?在train.py调用data_loader.py的时候。

@hiramustafa77
Copy link

Did anyone has problem about 'AttributeError: 'DataFrame' object has no attribute 'as_matrix''?
有人遇到这个问题吗?在train.py调用data_loader.py的时候。

yes it has been obsoleted and you may use .values instead of as_matrix()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants