Comments (4)
It seems the file sgan_model.ckpt.data-00000-of-00001
is not downloaded completely. I used Git LSF to save the large file. After installing Git LSF, you can download the file by the following command.
$ git lfs clone [email protected]:maxorange/pix2vox.git
I'm sorry. I should modify README.md.
from pix2vox.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "application.py", line 9, in <module>
model = sgan.Model("params/sgan_model.ckpt")
File "/home/gitplace/pix2vox/model/sgan.py", line 15, in __init__
self.build_model(model_path)
File "/home/gitplace/pix2vox/model/sgan.py", line 40, in build_model
self.saver.restore(self.sess, model_path)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/training/saver.py", line 1686, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/client/session.py", line 895, in run
run_metadata_ptr)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/client/session.py", line 1128, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/client/session.py", line 1344, in _do_run
options, run_metadata)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/client/session.py", line 1363, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.OutOfRangeError: Read less bytes than requested
[[Node: save/RestoreV2_53 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_53/tensor_names, save/RestoreV2_53/shape_and_slices)]]
Caused by op 'save/RestoreV2_53', defined at:
File "application.py", line 9, in <module>
model = sgan.Model("params/sgan_model.ckpt")
File "/home/gitplace/pix2vox/model/sgan.py", line 15, in __init__
self.build_model(model_path)
File "/home/gitplace/pix2vox/model/sgan.py", line 39, in build_model
self.saver = tf.train.Saver(vars_G + vars_E)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/training/saver.py", line 1239, in __init__
self.build()
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/training/saver.py", line 1248, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/training/saver.py", line 1284, in _build
build_save=build_save, build_restore=build_restore)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/training/saver.py", line 765, in _build_internal
restore_sequentially, reshape)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/training/saver.py", line 428, in _AddRestoreOps
tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/training/saver.py", line 268, in restore_op
[spec.tensor.dtype])[0])
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 1031, in restore_v2
shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/ops.py", line 3160, in create_op
op_def=op_def)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/ops.py", line 1625, in __init__
self._traceback = self._graph._extract_stack() # pylint: disable=protected-access
OutOfRangeError (see above for traceback): Read less bytes than requested
[[Node: save/RestoreV2_53 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_53/tensor_names, save/RestoreV2_53/shape_and_slices)]]
from pix2vox.
yes this error came when ckpt.data-00000-of-00001
is partially loaded or downloaded. OutOfRangeError (see above for traceback): Read less bytes than requested
from pix2vox.
git lfs clone https://github.com/maxorange/pix2vox.git
from pix2vox.
Related Issues (13)
- Write document
- running test.py produces bad results HOT 3
- VTK Version 5.10.1 not available. HOT 3
- Fail to get Voxel model HOT 1
- model/sgan.py", line 154, in edge c = conv2d(edge, [4, 4, nc, nf], 'h1', bias=True) NameError: name 'conv2d' is not defined
- Out of range: Read less bytes than requested HOT 3
- Parameter/Checkpoint Compatability and Discriminator Network HOT 4
- Fail to reload the checkpoint file HOT 1
- ImportError: No module named binvox HOT 1
- How can I use your trained network in a none-gui environment. HOT 3
- Failed to load module "canberra-gtk-module" HOT 1
- TypeError: 'NoneType' object is not iterable HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pix2vox.