Comments (4)
@roy920407 不好意思 你的回复不知怎么回事 邮件提醒被分类到垃圾箱了
最近我做了相关尝试 我个人建议 你最好用celebA align png
然后再用网络训练之前 做一个face crop
这样结果很好 和论文里几乎一致 清晰度上有些差别 细节方面 比wiki上展示的结果要好
from pixel-recursive-super-resolution.
你看下你用的data是jpg还是png
如果是jpg 在data那里应该是decode_jpg
如果是png 在data那里应该是decode_png
改一下即可
from pixel-recursive-super-resolution.
@luckyboysmith
所以意思是celebA 裡面有分
img_align_celeba、
img_align_celeba_png、
img_celeba
這三種只要選一種就好的意思嗎??因為裡面有png又有jpg
而且最近不知道為何又有新的錯誤,無法寫入。上網GOOGLE也找不到原因,請問有甚麼原因會造成這樣的錯誤
Traceback (most recent call last):
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1039, in _do_call
return fn(*args)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1021, in _run_fn
status, run_metadata)
File "C:\Program Files\Anaconda3\lib\contextlib.py", line 66, in exit
next(self.gen)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.UnknownError: NewRandomAccessFile failed to Create/Open: C:\Users\User\Desktop\prsr\tools\data\celebA\Anno : \udca6s\udca8\udcfa\udcb3Q\udca9\u06a1C
; Input/output error
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/cpu:0"](WholeFileReaderV2, input_producer)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 26, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "train.py", line 23, in main
solver.train()
File "C:\Users\User\Desktop\prsr\tools\solver.py", line 88, in train
coord.join(threads)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\coordinator.py", line 389, in join
six.reraise(*self._exc_info_to_raise)
File "C:\Program Files\Anaconda3\lib\site-packages\six.py", line 686, in reraise
raise value
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\queue_runner_impl.py", line 234, in _run
sess.run(enqueue_op)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 778, in run
run_metadata_ptr)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 982, in _run
feed_dict_string, options, run_metadata)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1032, in _do_run
target_list, options, run_metadata)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1052, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: NewRandomAccessFile failed to Create/Open: C:\Users\User\Desktop\prsr\tools\data\celebA\Anno : \udca6s\udca8\udcfa\udcb3Q\udca9\u06a1C
; Input/output error
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/cpu:0"](WholeFileReaderV2, input_producer)]]
Caused by op 'ReaderReadV2', defined at:
File "train.py", line 26, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "train.py", line 22, in main
solver = Solver()
File "C:\Users\User\Desktop\prsr\tools\solver.py", line 36, in init
self.dataset = DataSet(conf.imgs_list_path, self.num_epoch, self.batch_size)
File "C:\Users\User\Desktop\prsr\tools\data.py", line 17, in init
_, image_file = image_reader.read(filename_queue)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\ops\io_ops.py", line 193, in read
return gen_io_ops._reader_read_v2(self._reader_ref, queue_ref, name=name)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 411, in _reader_read_v2
queue_handle=queue_handle, name=name)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 768, in apply_op
op_def=op_def)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2336, in create_op
original_op=self._default_original_op, op_def=op_def)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1228, in init
self._traceback = _extract_stack()
UnknownError (see above for traceback): NewRandomAccessFile failed to Create/Open: C:\Users\User\Desktop\prsr\tools\data\celebA\Anno : \udca6s\udca8\udcfa\udcb3Q\udca9\u06a1C
; Input/output error
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/cpu:0"](WholeFileReaderV2, input_producer)]]
from pixel-recursive-super-resolution.
你好, @luckyboysmith 我最近在阅读相关的论文和代码,对于代码中的生成sample的c_logits和p_logits有很多疑问,请问一下该怎么理解
from pixel-recursive-super-resolution.
Related Issues (20)
- How can I use the trained model to improve one image's resolution?Please. HOT 1
- Load a model and resume training? HOT 2
- Test time is too high HOT 17
- Is the printed images among the training dataset?
- Therminal stucked after 1000 iterations HOT 1
- 在实现gated cnn时候左边用vertical mask右边用horizontal mask。但是代码中好像不是这么实现的? HOT 1
- loss changes dramatically after 100k steps.
- [Errno 40] Too many levels of symbolic links: 'data/celebA'
- How to train my own data with your code?
- Change of data to use
- Test code of pixel recursive SR
- The code does not work with the new tensorflow versions. HOT 1
- New Super-Resolution Benchmarks
- What can I do with the trained data? HOT 6
- Not a JPEG file HOT 2
- AttributeError: 'module' object has no attribute 'losses' HOT 3
- 请问训练完成后怎么测试图片? HOT 9
- InvalidArgumentError (see above for traceback): Invalid JPEG data, size 1179648 HOT 2
- 求助! HOT 6
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 pixel-recursive-super-resolution.