Aiden Cline

Results 112 comments of Aiden Cline

@talentlessguy if you still need help I would be up for it

@talentlessguy sure

> > after that , running train.py, it throws as following: > > ``` > > /opt/homebrew/Caskroom/miniconda/base/envs/torch-nightly/lib/python3.8/site-packages/torch/amp/autocast_mode.py:204: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling >...

@vbqz could you elaborate on your expectations of what should be done? Seems to me that this would be expected. You have two events, both of which will have a...

@vbqz Okay then why use the omit-empty flag if you don't want it? Couldn't you just run: ```bash npx quicktype --src-lang schema -o ./event.go --just-types-and-package def.json ```

@vbqz I see... I assume your expected generated code would be the following correct?: ```go package main type Event struct { B *string `json:"b"` Kind Kind `json:"kind"` } type Kind...

@vbqz After looking at the omit empty flag description: omit-empty If set, all non-required objects will be tagged with ",omitempty" (off by default) And given that B is not required...

Any idea when the Go change might be merged? Tried it out and works well, would love to see it added