sunghoonim / DPSNet

[ICLR19] DPSNet: End-to-end Deep Plane Sweep Stereo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's the version of libraries and programs?

disco14 opened this issue · comments

commented

Could you please provide the version of libraries and programs? For example, if I don't use tensorboardX==1.2, the code will report an error. And I don't know what version of scipy should be used. Thanks very much.
UserWarning: From scipy 0.13.0, the output shape of zoom() is calculated with round() instead of int() - for these inputs the size of the returned array has changed.

  UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.

"See the documentation of nn.Upsample for details.".format(mode))

Same issue with you.This code(v0.4) reported an error in SummaryWriter.add_image, train.py, line 222, it seems fromarray() cannot handle float array with 3 channels. I'm not sure whether I should change version of PIL or change array from float(range0-1) to unit(range 0-255).
File "~/anaconda3/envs/dpsnet/lib/python3.6/site-packages/PIL/Image.py", line 2716, in fromarray raise TypeError("Cannot handle this data type: %s, %s" % typekey) TypeError: Cannot handle this data type: (1, 1, 240), |u1

The same thing happened with me. Solved it by using tensorboardX==1.2.