Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

About the eval() function in train.py #20

Closed
ArchNew opened this issue Sep 11, 2018 · 2 comments
Closed

About the eval() function in train.py #20

ArchNew opened this issue Sep 11, 2018 · 2 comments

Comments

@ArchNew
Copy link

ArchNew commented Sep 11, 2018

in main() function of 'train.py', line 92~94

    model = eval('models.'+config.MODEL.NAME+'.get_pose_net')(
        config, is_train=True
    )

I can't find the reference of the eval function and the functionality of the parenthesis after the eval().
In PyCharm, when I "ctrl-click" on the eval, it brings me to an eval definition that only has "pass" in it.

@ArchNew ArchNew closed this as completed Sep 11, 2018
@fire717
Copy link

fire717 commented Jun 21, 2021

same question, how do u solve it? thx

@fire717
Copy link

fire717 commented Jun 21, 2021

got it, it's python's func

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

No branches or pull requests

2 participants