Title: Different kernel sizes for different dimensions · Issue #40 · fepegar/unet · GitHub
Open Graph Title: Different kernel sizes for different dimensions · Issue #40 · fepegar/unet
X Title: Different kernel sizes for different dimensions · Issue #40 · fepegar/unet
Description: Can you maybe add this feature, please? I think the main change would be From class ConvolutionalBlock(nn.Module): def __init__( self, dimensions: int, in_channels: int, out_channels: int, normalization: Optional[str] = None, kernel_size...
Open Graph Description: Can you maybe add this feature, please? I think the main change would be From class ConvolutionalBlock(nn.Module): def __init__( self, dimensions: int, in_channels: int, out_channels: int, normaliz...
X Description: Can you maybe add this feature, please? I think the main change would be From class ConvolutionalBlock(nn.Module): def __init__( self, dimensions: int, in_channels: int, out_channels: int, normaliz...
Opengraph URL: https://github.com/fepegar/unet/issues/40
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Different kernel sizes for different dimensions","articleBody":"Can you maybe add this feature, please? \r\n\r\nI think the main change would be \r\n\r\n* From\r\n\r\n```python\r\nclass ConvolutionalBlock(nn.Module):\r\n def __init__(\r\n self,\r\n dimensions: int,\r\n in_channels: int,\r\n out_channels: int,\r\n normalization: Optional[str] = None,\r\n kernel_size: int = 3,\r\n activation: Optional[str] = 'ReLU',\r\n preactivation: bool = False,\r\n padding: int = 0,\r\n padding_mode: str = 'zeros',\r\n dilation: Optional[int] = None,\r\n dropout: float = 0,\r\n ):\r\n```\r\n\r\n* To\r\n\r\n```python\r\nclass ConvolutionalBlock(nn.Module):\r\n def __init__(\r\n self,\r\n dimensions: int,\r\n in_channels: int,\r\n out_channels: int,\r\n normalization: Optional[str] = None,\r\n kernel_size: int = Union[int, Sequence[int]],\r\n activation: Optional[str] = 'ReLU',\r\n preactivation: bool = False,\r\n padding: int = 0,\r\n padding_mode: str = 'zeros',\r\n dilation: Optional[int] = None,\r\n dropout: float = 0,\r\n ):\r\n```\r\n\r\nI can create a PR if you prefer this way.","author":{"url":"https://github.com/kuangdai","@type":"Person","name":"kuangdai"},"datePublished":"2024-04-02T19:23:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/40/unet/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:82beae13-05df-774a-0b6e-8fb905dcdbda |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 89F6:2FC02B:5119969:6E17271:698CAD27 |
| html-safe-nonce | 1c506f15dda0c13f61021a678a420a0a5fbac4e3dc71d959bcf972d26bf9e046 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUY2OjJGQzAyQjo1MTE5OTY5OjZFMTcyNzE6Njk4Q0FEMjciLCJ2aXNpdG9yX2lkIjoiODc5Mzk1MDUyNjc4Nzg1NzcwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82fe251078e9284aae5f347cdc4b4f34e60aee0be1bc39c2fc4fc839e8ad3531 |
| hovercard-subject-tag | issue:2221286219 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fepegar/unet/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af60e3c4e0f6e3500ce10bc5e8d31cc7ac473bc12e51c93c933a134784308aa4/fepegar/unet/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af60e3c4e0f6e3500ce10bc5e8d31cc7ac473bc12e51c93c933a134784308aa4/fepegar/unet/issues/40 |
| og:image:alt | Can you maybe add this feature, please? I think the main change would be From class ConvolutionalBlock(nn.Module): def __init__( self, dimensions: int, in_channels: int, out_channels: int, normaliz... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kuangdai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/fepegar/unet git https://github.com/fepegar/unet.git |
| octolytics-dimension-user_id | 12688084 |
| octolytics-dimension-user_login | fepegar |
| octolytics-dimension-repository_id | 196655720 |
| octolytics-dimension-repository_nwo | fepegar/unet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 196655720 |
| octolytics-dimension-repository_network_root_nwo | fepegar/unet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width