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

cntk crash and pycharm process finished with exit code -1066598274 (0xC06D007E) #3882

Open
cheyennee opened this issue Dec 8, 2023 · 0 comments

Comments

@cheyennee
Copy link

problem:
I run following code in pycharm, it outputs nothing, and pycharm process finished with exit code -1066598274 (0xC06D007E).

repo code:

import cntk as C
import numpy as np
output = C.input_variable((1, 1, 1, 1), dtype=np.float32, needs_gradient=True, name='output')
target = C.input_variable((1, 2, 3, 1), dtype=np.float32, name='target')
dot_output = C.binary_cross_entropy(output, target)
convolution_function = C.combine(dot_output)
output_data = np.random.random((1, 1, 1, 1)).astype('float32')
target_data = np.random.random((1, 2, 3, 1)).astype('float32')
result = convolution_function.eval({output: output_data, target: target_data})
print(result)
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