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

Separate the models from the sources #8

Open
DrAnaximandre opened this issue Aug 27, 2017 · 2 comments
Open

Separate the models from the sources #8

DrAnaximandre opened this issue Aug 27, 2017 · 2 comments
Assignees
Milestone

Comments

@DrAnaximandre
Copy link
Collaborator

DrAnaximandre commented Aug 27, 2017

If everybody is ok with that, I propose to move the sources and the models in two separate folders.
The organisation would be like:

  • src
    • prepare_data.py
    • set_images.py
    • anyothercode.py
  • models
    • my_model_0.py
    • my_cnn.py
  • run.py

So the code would look like python run.py --source ../data --results ../results --model my_cnn with maybe some extra arguments for the models such as load_weights ?

@tfunck
Copy link
Owner

tfunck commented Aug 28, 2017

good idea. how do you get python to load a file that's defined at run time? i've never done that before, but it seems like it should be possible

@DrAnaximandre
Copy link
Collaborator Author

which file defined at runtime?

@DrAnaximandre DrAnaximandre self-assigned this Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants