-
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
self.device=device #7
Comments
兄弟,你解决了吗?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
执行命令的时候报错,报错内容如下:
Traceback (most recent call last):
File "train.py", line 207, in
main()
File "train.py", line 166, in main
y_pred = train_problem(current_depth="flat", upper_depth=None, class_num=len(learning_categories), fine_tuning=fine_tuning, embedding_weight=embedding_weight, input_data=input_network_data, model_type=model_type, learning_categories=learning_categories)
File "train.py", line 40, in train_problem
network_output = cnn_train.main(params)
File "E:\▒▒▒▒▒\▒▒▒▒▒▒▒\▒▒▒ܹ▒▒▒\HFT-CNN-master\cnn_train.py", line 121, in main
updater = MyUpdater(train_iter, optimizer, params["output_dimensions"], device=params["gpu"])
File "E:\▒▒▒▒▒\▒▒▒▒▒▒▒\▒▒▒ܹ▒▒▒\HFT-CNN-master\MyUpdater.py", line 36, in init
self.device = device
AttributeError: can't set attribute
The text was updated successfully, but these errors were encountered: