-
Notifications
You must be signed in to change notification settings - Fork 439
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
SyntaxError in the file "src/handlers/data_generator.py" #16
Comments
the parameter "img_crop_dims=(224,224)",what do the parameter"*self.img_crop_dims"mean? |
I install keras of version 2.1.2, when I train my own model, some error report like this: ================================================================= train.py:83: UserWarning: Update your when I run train.py without docker, it ask two other files, "samples.json" and "config.json" ,I copy them from you have provided, but one para in the "config.json" is: "docker_image": "nima-cpu", { |
I have fixed this issue, but it seems that there is a bug in your source file code which named "data_generator.py",in the line 39. |
Hi, glad that you got the train.py script running. It seems all your issues are package version related, which is why I recommend to use the provided Docker images for training and predicting. Line 39 in data_generator.py has no bug I believe, it works fine with the numpy version in the Docker image. |
hi , when I run the src code "train.py" ,one error report. this is:
File "/work/imageQuality/image-quality-assessment-master/src/handlers/data_generator.py", line 39
X = np.empty((len(batch_samples), *self.img_crop_dims, 3))
the parameter numbers is 3 or 2 in the function np.empty ?
I just learn python, so may be this is a very simple question for you.
sweet smile! thanks
The text was updated successfully, but these errors were encountered: