-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
module 'tensorflow' has no attribute 'set_random_seed' #12
Comments
I'm having the same issue, which arises because tensorflow version 2 has a different random seed function. It seems like it should be an easy fix but I haven't got it working yet |
@bushra-tayyaba As @scjjb says, DigiPathAI was built with Tensorflow 1. @scjjb Does modifying it work? |
I never managed to resolve the issue |
just replacing it with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This error " module 'tensorflow' has no attribute 'set_random_seed'" occurs after running the following code :
from DigiPathAI.Segmentation import getSegmentation
prediction = getSegmentation(img_path,
patch_size = 256,
stride_size = 128,
batch_size = 32,
quick = True,
tta_list = None,
crf = False,
save_path = None,
status = None)
The text was updated successfully, but these errors were encountered: