-
Notifications
You must be signed in to change notification settings - Fork 15
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
Libraries independency #18
Comments
Hi @foteni, thank you for your interest in SplineDist! After checking, it seems that there is some issue with the build of CC: @vuhlmann |
Hi again! I tried your suggestion and it worked! Thank you a lot for your time. I have one more question. I use the library ipynb in order to run the files. I try to run this cell:
in order to do the training and in the start of the run I got something like this:
One of the solution that I found by googling is to upgrade the numpy but I know that if I do so it will break other dependencies. Then I tried to run cell by cell to find out more information about the error and I found out that the cell that produces the error is this:
I still could run the next cells and I did, up until this cell:
in which the output was:
Also, in that moment that RAM crushes and I have to restart the runtime period. Then I used only 100 images and it run! Here was the output:
Last thing, the GPU of Google Colab wasn't enable when i ran the train function . |
Hi @foteni , you are right, different numpy versions than the recommend one in the setup file might break some other dependencies! I assume that Regarding Google colab crashing, I suspect it is happening due to large value of Unfortunately, I am unsure why the Google Colab GPU was not enabled during your training session. Hope this is helpful! |
Thank you very much for the prompt reply. Unfortunately I don't have any hardware so I'm trying it with google colab so I'll leave it for now as it is and ignore this point. However, if you try it and find out that it affects the results and find some solution that can help me, I would be grateful. Finally, if it's not trouble for you, i wanted to ask how much VRAM is required to run the model with data. Thank you ! |
Hi @foteni , you are welcome and as I have mentioned, I do not think that NumPy warning would result into incorrect results in this context! So, please feel free to go ahead with the installation change suggested in this thread! Could you please elaborate what you meant by- 'how much does the model take?'? Thanks! |
Finally, if it's not trouble for you, i wanted to ask how much VRAM is required to run the model with data. Thank you ! |
Hi @foteni, the VRAM requirement depends on multiple factors, such as the input dataset format and some SplineDist parameters (number of control points (M), contoursize_max, etc.) being used. Not sure whether it would be helpful in your case, but there are some open-source pretrained SplineDist models available as noted in the Readme. |
Hi, I am trying to run the repository to google collab but I am stuck on this error when I !pip install . :
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Building wheels for collected packages: splinedist, numba, llvmlite
Building editable for splinedist (pyproject.toml) ... done
Created wheel for splinedist: filename=splinedist-0.1.2-0.editable-py3-none-any.whl size=6168 sha256=a8cdbdf305336d39cebfd14ee42a762d98d30a79317f2d1cfc0a2d69313ffc1f
Stored in directory: /tmp/pip-ephem-wheel-cache-mt9a3qbp/wheels/08/7a/e9/4a9106dc672109ff7c3930ddbb9ba70435fddeb520a059c510
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for numba (setup.py) ... error
ERROR: Failed building wheel for numba
Running setup.py clean for numba
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for llvmlite (setup.py) ... error
ERROR: Failed building wheel for llvmlite
Running setup.py clean for llvmlite
Successfully built splinedist
Failed to build numba llvmlite
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (numba, llvmlite)
The text was updated successfully, but these errors were encountered: