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

Fix ResNet's in_channels calculations #220

Merged
merged 2 commits into from
Nov 16, 2023
Merged

Fix ResNet's in_channels calculations #220

merged 2 commits into from
Nov 16, 2023

Conversation

weihua916
Copy link
Contributor

Current test passed because we always have target column and len(col_stats) - 1 happens to be the same as the target column. This no longer holds when we need to handle a table with no target column. This PR fixes the issue by computing the number of columns based on col_names_dict.

@github-actions github-actions bot added the nn label Nov 16, 2023
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8720ff6) 92.01% compared to head (ae8e08c) 92.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #220   +/-   ##
=======================================
  Coverage   92.01%   92.02%           
=======================================
  Files         107      107           
  Lines        4912     4913    +1     
=======================================
+ Hits         4520     4521    +1     
  Misses        392      392           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@weihua916 weihua916 merged commit 1236820 into master Nov 16, 2023
11 of 12 checks passed
@weihua916 weihua916 deleted the fix_resnet_dim branch November 16, 2023 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants