Created
April 29, 2019 11:56
-
-
Save mstfldmr/a34fa6347cbc445a42ba66d657a15347 to your computer and use it in GitHub Desktop.
Revisions
-
mstfldmr created this gist
Apr 29, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # MXNet uses channels_first data format while Tensorflow uses channels_last data format. img.shape # (3, 224, 224) x = np.moveaxis(img, 0, 2) x.shape # (224, 224, 3)