2020-01-01から1年間の記事一覧

言語モデルでEOSを予測すると汎化性能悪化するらしい

The EOS Decision and Length Extrapolation paper https://arxiv.org/abs/2010.07174 Benjamin Newman, John Hewitt, Percy Liang, Christopher D. Manning github https://github.com/bnewm0609/eos-decision データセット Dyck-(k, m), SCAN, WMT2009 pro…

UI画像からコード生成,pix2code

pix2code: Generating Code from a Graphical User Interface Screenshot paper https://arxiv.org/abs/1705.07962 Tony Beltramelli github https://github.com/tonybeltramelli/pix2code データセット githubで公開 project https://uizard.io/research/#p…

教師なしプログラミング言語翻訳 TransCoder

Unsupervised Translation of Programming Languages paper https://arxiv.org/abs/2006.03511 Marie-Anne Lachaux, Baptiste Roziere, Lowik Chanussot, Guillaume Lample github https://github.com/facebookresearch/TransCoder データセット Google BigQ…

胸部X線データセットのドメインシフト検証,Can we trust deep learning based diagnosis? The impact of domain shift in chest radiograph classification

Can we trust deep learning based diagnosis? The impact of domain shift in chest radiograph classification paper https://arxiv.org/abs/1909.01940 Eduardo H. P. Pooch, Pedro L. Ballester, Rodrigo C. Barros github データセット ChestX-ray14, C…

'use strict';はエラーが発生しやすい項目をエラーにする指定

(初心者向け) JavaScript の Strict モードの概要 qiita.com JavaScript の機能としてはエラーではないが、落とし穴になる項目をエラーにして バグの発生を抑える。 JavaScript の最適化を困難にする誤りを修正する。 将来の ECMAScript で予定されている構…

pytorchのモデル/オプティマイザのzero_grad()の違い

pytorhにoptimizerのzero_grad()とモデルのzero_grad()があることに気づいたので違いを調べた.optimizer がmodel.paremeters()を対象にしている場合,つまり全パラメタを対象にしている場合は両者は同じもの. Optimizer.zero_grad() と nn.Module.zero_gra…

gccは3つの主要なステップからなる

gccは3つの主要なステップからなる 1. Cのソースをアセンブリに変換 gccはC compilerを呼び出し,それが.cをターゲットマシンのアセンブリコードの.sに変換する C compilerは前処理,lexical 解析,parse,code生成などのフェーズを持つ 2. assembly codeを…

プログラミング言語間の翻訳,Tree-to-tree Neural Networks for Program Translation

Tree-to-tree Neural Networks for Program Translation paper https://arxiv.org/abs/1802.03691 Xinyun Chen, Chang Liu, Dawn Song NeulIPS 2018 github データセット project まとめ どんなもの? プログラミング言語間の翻訳にdeepを使用した初の研究.…

階層構造のためのLSTM,Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks

Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks paper https://arxiv.org/abs/1810.09536 Yikang Shen, Shawn Tan, Alessandro Sordoni, Aaron Courville github https://github.com/yikangshen/Ordered-Neurons データセッ…

2次以上の特長の相互作用が可能なattention, X-Linear Attention Networks for Image Captioning

X-Linear Attention Networks for Image Captioning paper https://arxiv.org/abs/2003.14080 Yingwei Pan, Ting Yao, Yehao Li, and Tao Mei github https://github.com/JDAI-CV/image-captioning データセット COCO project まとめ どんなもの? image cap…

図を記述するプログラム生成,Learning to Infer Graphics Programs from Hand-Drawn Images

Learning to Infer Graphics Programs from Hand-Drawn Images paper http://papers.nips.cc/paper/7845-learning-to-infer-graphics-programs-from-hand-drawn-images https://arxiv.org/abs/1707.09627 (長い版) github https://github.com/ellisk42/TikZ …

GUIコード生成のレビュー論文,Front End Development Automation Tool: Missing Features?

Front End Development Automation Tool: Missing Features? paper https://ieeexplore.ieee.org/document/9033956 Hasitha Hiran Walpola, Guhanathan Poravi github データセット project まとめ どんなもの? GUI画像からコード生成するモデルのサーベイ…

スケッチからスタイルを考慮したDSL生成,CSSSketch2Code: An Automatic Method to Generate Web Pages with CSS Style

CSSSketch2Code: An Automatic Method to Generate Web Pages with CSS Style paper https://dl.acm.org/doi/abs/10.1145/3292448.3292455 github データセット project まとめ どんなもの? webページのスケッチ(スクショではない)からDSLを生成するencoder…

ルールとdeepの融合でデザインファイルからコード生成,Visual Compiler: Towards Translating Digital UI Design Draft to Front-End Code Automatically

Visual Compiler: Towards Translating Digital UI Design Draft to Front-End Code Automatically paper https://link.springer.com/chapter/10.1007/978-3-030-50017-7_28 github データセット project まとめ どんなもの? PhotoshopやXDなどのデジタルデ…

pix2codeをattentionやON-LSTMで拡張,A novel syntax-aware automatic graphics code generation with attention-based deep neural

A novel syntax-aware automatic graphics code generation with attention-based deep neural network paper https://www.sciencedirect.com/science/article/pii/S1084804520301107 github project まとめ どんなもの? GUI画像からDSLを生成するタスクで…

UIデザインの自動補完,Auto Completion of User Interface Layout Design Using Transformer-Based Tree Decoders

Auto Completion of User Interface Layout Design Using Transformer-Based Tree Decoders paper https://arxiv.org/abs/2001.05308 Yang Li, Julien Amelot, Xin Zhou, Samy Bengio, Si Si ICLR 2020 reject github project まとめ どんなもの? UIデザイ…

MS-SSIMについて調べた

生成画像の評価指標に使われるMulti-Scale Structural Similarity (MS-SSIM)の論文を読んだのでまとめる. Wang et al., "MULTI-SCALE STRUCTURAL SIMILARITY FOR IMAGE QUALITY ASSESSMENT", 2003 https://ece.uwaterloo.ca/~z70wang/publications/msssim.p…

2D画像から3Dモデルを生成するTL-embedding networkの論文メモ

Learning a Predictable and Generative Vector Representation for Objects Rohit Girdhar, David F. Fouhey, Mikel Rodriguez, Abhinav Gupta https://arxiv.org/abs/1603.08637 v2 ECCV2016 コード https://github.com/rohitgirdhar/GenerativePredictabl…

任意クラスの3D形状を生成する3D conditional GANの論文メモ

3D Model Generation and Reconstruction Using Conditional Generative Adversarial Network Haisheng Li, Yanping Zheng, Xiaoqun Wu, Qiang Cai https://download.atlantis-press.com/journals/ijcis/125911591/view コード 見当たらない モデルアーキテ…

SWC 4章 pp77 明確でない修飾語,4章まとめ

Angelika H. Hofmann, "Scientific Writing and Communication", 2010 明確でない修飾語 例4-47 Having tested positive for HIV, we disqualified the patients for participation in the study. Having tested positive for HIV, the patients were disqua…

SWC 4章 pp71-77 句読点,目的語と動詞の対応

SWC

Angelika H. Hofmann, "Scientific Writing and Communication", 2010 句読点 明確化と強調のためにカンマを使う メインセンテンスの前に従属節や長い動詞句が来るとき 開始文の最初で使われている接続詞とフレーズはカンマで分ける 従属節が意味的に必要不…

SWC 4章 pp66-71 一般的な間違い(スペリング)

SWC

Angelika H. Hofmann, "Scientific Writing and Communication", 2010 compared to compared to ではなくthanを使え decreaseとかincreaseを使うときはわかりにくいのでcompared to を使うな(AはBより増加したというとき,compared to を使うとBも少しは増え…

SWC 4章 pp62-66 代名詞, 比較になってない問題

SWC

Angelika H. Hofmann, "Scientific Writing and Communication", 2010 4.8 代名詞 ルール19: 明確な代名詞を使え 代名詞の例 it, none, they, these, those, their, them, this, that, which, who, whose 代名詞指す名詞が曖昧だと理解しづらいので,明確に…

PyQt5インストール for mac

20200505 python 3.7.2(pyenv-virtualenv) macOS Mojave 10.14.6 pip install PyQt5 www.riverbankcomputing.com pipではなく,ダウンロード&インストール操作が必要という情報もあったが,今回はpipで行けた 使い方は次が参考になった PyQt5入門(1) qiita.c…

印象に残ったこと(20200129)

現在海外に滞在しており,数日前から自分の上司も滞在している 上司は数日後に帰国する こちらでできた友人に,上司が帰国する前に会って話をしないかと突然誘ったところ,快く引き受けてくれた また,彼は話が上手かった. このことが今日最も印象に残った.