Skip to content

Instantly share code, notes, and snippets.

@aht
aht / Impreza
Last active June 16, 2020 00:11
shape issue
==================
training car_model = Impreza
==================
len(train_files) = 15272
len(val_files) = 2917
len(train_files) = 15272
len(val_files) = 2917
mkdir: Impreza: File exists
2020-06-15 17:10:06.090889: I tensorflow/core/profiler/lib/profiler_session.cc:159] Profiler session started.
FEATURES = ['CarSpeed', 'SteeringAngle', 'YawRate', 'Gx', 'Gy', 'CarSpeed_is_na', 'SteeringAngle_is_na', 'YawRate_is_na', 'Gx_is_na', 'Gy_is_na', 'TimeDiff']
@aht
aht / repro.md
Last active February 24, 2022 01:15
Reproduce make-format errors and issues due to typed-ast-1.4.3 for python 3.9.10 Darwin on feast v0.17.0-13-gb4d12bd0

Expected Behavior

make format and make lint should work and is able to format newly contributed code, not reformat the current code base.

Current Behavior

make format fails with ImportError undefined symbol _PyUnicode_DecodeUnicodeEscape due to issue with typed-ast 1.4.3 on python3.10 (python/typed_ast#169 , https://stackoverflow.com/questions/69912264/python-3-9-8-fails-using-black-and-importing-typed-ast-ast3).

(venv) ➜  feast git:(b4d12bd0) make format
# Sort
cd /Users/aht/src/feast/sdk/python; python -m isort feast/ tests/