Comments (4)
It was introduced by #9 by @jonahweissman to make sure it works well in Python 3, regardless of default encoding.
I would need to check a solution that works on both Python 2.7 and Python 3.5+. Ideas?
from livelossplot.
How about this?
from io import open
Then, it'll work 2.7 and 3.6 both versions.
from livelossplot.
@scionk thanks!
(I see it's here: https://stackoverflow.com/questions/10971033/backporting-python-3-openencoding-utf-8-to-python-2/10971047#10971047)
Solved with 4b9cca4.
from livelossplot.
simplest fix would be:
with open('README.md', encoding='utf-8') as f:
Remove the encode string on a system that is already UTF-8
with open('README.md') as f:
That way the system don't have to argue with python about encoding at all.
ONLY WORKS ON SYSTEMS ALREADY UTF-8 !!!!!!!
from livelossplot.
Related Issues (20)
- KeyError : 'metrics' Please Help HOT 7
- How to plot live loss XGBOOST training? HOT 1
- Bug with latest keras HOT 3
- Bokeh vis not working in Colab HOT 2
- Can't pass arguments to PlotLossesKerasTF (figsize, fig_path) HOT 1
- Custom Message (Batch Size, etc) HOT 2
- How to plot multiple validation sets HOT 4
- Setup outputs as str HOT 6
- Make xlabel customizable HOT 4
- Sudden error that wasn't happen before - index 0 is out of bounds for axis 0 with size 0 HOT 1
- Positioning of legends HOT 1
- sliding start of epochs HOT 2
- WARNING : tensorflow:Callback method `on_train_batch_end` is slow compared to the batch time HOT 2
- PlotLossesKeras stops if tensorflow.keras is used without installing traditional keras HOT 2
- No plots showing for utils.Sequence Generator model HOT 3
- how to plot by batches?
- 'Plot2d' object has no attribute 'set_output_mode' HOT 1
- Ability to pass `figsize` for matplotlib plots
- ImageDataGenerator incompatible
- Training pauses on epoch end and won't continue until window is closed
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 livelossplot.