-
Notifications
You must be signed in to change notification settings - Fork 39
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
Assertion error in transfer.py #1
Comments
Please report your |
I'm currently trying to update your repo to support torch1.5. The versions you're using support cuda80, I'm on cuda10.2 so that will not work.
|
|
Thanks for the quick reply! @arpanmangal on point (1): If it's not clear, I'm talking about the "num_batches_tracked" layers available on torch>1.0 but not in torch<1.0 |
@bartmch Have you successfully run the code using pytorch>1.0. If so, can you please guide what are the changes required to run the code successfully? |
See previous messages. In short implement the following snippet to make the layers compatible: |
@bartmch what did you mean of res = pattern.match(key)"? |
I am getting assertion error in transfer.py code in line no:46
assert len(c_keys.difference(t_keys)) == 0
The error is:
AssertionError Traceback (most recent call last)
~\CovidAID-master\tools\transfer.py in
44 #print (len(c_keys.difference(t_keys)))
45 #print (len(t_keys.difference(c_keys)))
---> 46 assert len(c_keys.difference(t_keys)) == 0
47 assert len(t_keys.difference(c_keys)) == 0
48
AssertionError:
The text was updated successfully, but these errors were encountered: