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

CNN "Tests" argument not exist #2

Open
13bw opened this issue May 21, 2023 · 0 comments
Open

CNN "Tests" argument not exist #2

13bw opened this issue May 21, 2023 · 0 comments

Comments

@13bw
Copy link

13bw commented May 21, 2023

Command: python SinfNet.py --cnn_train NETWORK TRAIN TESTS example python SinfNet.py -ct CNN ./dataset/Augmented ./dataset/Original_Images

def CNN(network='VGG16', choice='predict', weights='weights.h5',
	Train ='./dataset', prediction='./image.jpg'):
	''' Train images using one of several CNNs '''
CNN dataset Nematodes\Nematodes\Train set
Traceback (most recent call last):
  File "C:\Users\doutor\Documents\SinfNet\SinfNet.py", line 170, in <module>
    if __name__ == '__main__': main()
  File "C:\Users\doutor\Documents\SinfNet\SinfNet.py", line 111, in main    
    CNN.CNN(network=sys.argv[2],
TypeError: CNN() got an unexpected keyword argument 'Tests'
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

1 participant