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

No module named custom.My_custom_experiment #51

Closed
luqily opened this issue Sep 12, 2019 · 1 comment
Closed

No module named custom.My_custom_experiment #51

luqily opened this issue Sep 12, 2019 · 1 comment

Comments

@luqily
Copy link

luqily commented Sep 12, 2019

I'm sorry to bother you again.
When I training the model, I always encounter the following error.
image

I have completed the first to eighth steps. And In step 5, my file My_custom_experiment.py is in the path /home/qilu/anaconda2/lib/python2.7/site-packages/tractseg/experiments/custom/

@wasserth
Copy link
Collaborator

Try the following:

  1. uninstall TractSeg with pip
  2. clone the TractSeg code
  3. navigate into the TractSeg code folder
  4. do pip install -e .

This will install TractSeg from your local source code and the installation will always be updated when you change the local code. Now you can edit My_custom_experiment.py and it should work.

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

2 participants