Comments (7)
hi, I met the same error. How do you solve it?
Hope for your help. Thanks!
from neural-image-assessment.
This code wasn't built for eager execution mode on Tensorflow, that may be one of the issues. Otherwise see whether you can drop theast batch inside the dataset.batch method. Maybe that will fix it.
from neural-image-assessment.
Same error I am getting. I have not used eager execution mode.
Epoch 00020: val_loss did not improve from 0.08821
Exception ignored in: <generator object train_generator at 0x7f7ee96fb308>
Traceback (most recent call last):
File "/home/bigdata/s2830250/nima-master-titu1994/utils/data_loader.py", line 128, in train_generator
yield (X_batch, y_batch)
File "/home/bigdata/s2830250/rvenv/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1587, in exit
self._default_graph_context_manager.exit(exec_type, exec_value, exec_tb)
File "/usr/local/lib/python3.5/contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "/home/bigdata/s2830250/rvenv/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 5233, in get_controller
context.context().context_switches.pop()
File "/home/bigdata/s2830250/rvenv/lib/python3.5/site-packages/tensorflow/python/eager/context.py", line 141, in pop
self.stack.pop()
IndexError: pop from empty list
from neural-image-assessment.
This code wasn't built for eager execution mode on Tensorflow, that may be one of the issues. Otherwise see whether you can drop theast batch inside the dataset.batch method. Maybe that will fix it.
Do you think the training sample needs to be divisible by 200 if my batchsize is 200? My dataset remainder is 21 if I divide total samples by 200.
from neural-image-assessment.
Epoch 00020: val_loss did not improve from 0.04966
Exception ignored in: <generator object val_generator at 0x7f588c71da20>
Traceback (most recent call last):
File "/home/tiger/jiazheng/neural-image-assessment/utils/data_loader.py", line 158, in val_generator
yield (X_batch, y_batch)
File "/home/tiger/jiazheng/venv34/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 1596, in exit
self._default_graph_context_manager.exit(exec_type, exec_value, exec_tb)
File "/usr/lib/python3.4/contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "/home/tiger/jiazheng/venv34/lib/python3.4/site-packages/tensorflow/python/framework/ops.py", line 5267, in get_controller
context.context().context_switches.pop()
File "/home/tiger/jiazheng/venv34/lib/python3.4/site-packages/tensorflow/python/eager/context.py", line 136, in pop
self.stack.pop()
IndexError: pop from empty list
Exception ignored in: <generator object train_generator at 0x7f58ac2835e8>
Traceback (most recent call last):
File "/home/tiger/jiazheng/neural-image-assessment/utils/data_loader.py", line 123, in train_generator
yield (X_batch, y_batch)
File "/home/tiger/jiazheng/venv34/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 1596, in exit
self._default_graph_context_manager.exit(exec_type, exec_value, exec_tb)
File "/usr/lib/python3.4/contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "/home/tiger/jiazheng/venv34/lib/python3.4/site-packages/tensorflow/python/framework/ops.py", line 5267, in get_controller
context.context().context_switches.pop()
File "/home/tiger/jiazheng/venv34/lib/python3.4/site-packages/tensorflow/python/eager/context.py", line 136, in pop
self.stack.pop()
IndexError: pop from empty listafter the last epoch, this error happened. I checked the dataset, the ava.txt matches the training images. all the epochs before were good. Thanks!
Did you solve the problem?
from neural-image-assessment.
This code wasn't built for eager execution mode on Tensorflow, that may be one of the issues. Otherwise see whether you can drop theast batch inside the dataset.batch method. Maybe that will fix it.
Would you please elaborate this point little more? I am stuck at this point.
from neural-image-assessment.
This code wasn't built for eager execution mode on Tensorflow, that may be one of the issues. Otherwise see whether you can drop theast batch inside the dataset.batch method. Maybe that will fix it.
Would you please elaborate this point little more? I am stuck at this point.
HI, I have been stuck in this error, would you addressed this error???
from neural-image-assessment.
Related Issues (20)
- when i train model on TID2013 dataset,something went wrong HOT 8
- Weight freezing in train*.py HOT 2
- I've computed histograms of the ground truth and predicted scores HOT 5
- Can't instantiate abstract class DatasetV1 with abstract methods _as_variant_tensor, _inputs HOT 5
- Regarding results
- How to set arguments: HOT 1
- Tensorflow version Issue HOT 1
- Different results
- errors when i run extract_inception_features.py HOT 7
- parse data function-image augmentation HOT 4
- A fundamental question! HOT 6
- Theano backend HOT 3
- License?
- any install instructions ? HOT 1
- How to feed the y_labels or scores from the images to model?
- Van Gogh's Mona Lisa is only 4.266 points??? HOT 1
- Nasnet weights? HOT 1
- Performance issues in the program HOT 2
- Performance issues in utils/data_loader.py (by P3) HOT 1
- Dataset format HOT 1
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 neural-image-assessment.