hog_finder's People
hog_finder's Issues
add test set and dice score to get baseline
then start exploring other generalization strategies to avoid overfitting or other models / libraries for practice and comparison
sd image size is 640x360, that should be the default size for inference
- this would make inference run fast, lower memory constraints, etc.
- one issue with progressize resizing could be that the largest size is 448x448 which is larger than the smallest dimension of 640x360, maybe that could be one reason why progressize resizing isn't working as expected? #4
batch inference
single cpu inference is slow
use skimage.measure.regionsprops orientation attribue to have overlays rotate with Xiaomi
something went wrong with progressive resizing model
- need to add model names in addition to date when saving models to allow for easier comparisons
- then retrain normalization and progressive resizing models to see what is going on
issue reading windows Path string on docker
This is likely because I save a fastai model using a windows Path() oject so when unpickling it doesnt know what to do. I should try resaving the model setting the path with a naked string, rather than a pathlib Path object.
File "/usr/local/lib/python3.9/site-packages/streamlit/script_runner.py", line 333, in _run_script
exec(code, module.__dict__)
File "/code/streamlit_app.py", line 50, in <module>
main()
File "/code/streamlit_app.py", line 29, in main
show_image(imlist[selected_frame_index], show_mask, predict)
File "/code/streamlit_app.py", line 44, in show_image
hf = hedgiefinder.HedgieFinder(fname, cleanup=False).predict([fname])
File "/code/hedgiefinder/inference.py", line 31, in __init__
self.model = load_learner(model_dir/model_name)
File "/usr/local/lib/python3.9/site-packages/fastai/learner.py", line 374, in load_learner
res = torch.load(fname, map_location='cpu' if cpu else None, pickle_module=pickle_module)
File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 594, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 853, in _load
result = unpickler.load()
File "/usr/local/lib/python3.9/pathlib.py", line 1073, in __new__
raise NotImplementedError("cannot instantiate %r on your system"
Explore LSTM and Transformer models to improve performance
These architectures are good for time series data which our hog finder can be classified as. This is because the position at any given time is related to the position in the past frames
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.