Comments (9)
Hi @regexident , thank you for taking interest in the activity classifier!
The steps for building the hapt_data.sframe
are indeed missing from the current documentation, and you can find them here: #41 (comment)
As for file paths (csv files to be loaded, saved sframe files and saved model files) - please note that all of the methods below accept any full or relative path you'll provide them:
sf = tc.SFrame.read_csv('some/path/some_file.csv')
sf.save('some/other/path/my_data.sf')
loaded_sf = tc.SFrame('some/other/path/my_data.sf')
model.save('new_desired_path/my_model.model`)
The current path your're running your python from doesn't matter - as long as you provide a valid path where you want sframes\models to be saved to or loaded from.
Also, it is not required to run your python script from within a specific path (venv
or any other).
The only advice is to activate the virtualenv in which you've installed turicreate by running: source ~/venv/bin/activate
.
After you do - feel free to write your own .py
script or ipython notebook. Such script will usually begin with:
import turicreate as tc
data = tc.Sframe.read_csv('some_data.csv')
#...
model = tc.activity_classifier.create(data, ...)
#...
Feel free to ask for any further clarifications.
from turicreate.
Hi @igiloh and thanks for the prompt response!
I just left for home, but will give it another go tomorrow morning. I’ll let you know if your additional info is enough to get started with the example and no prior experience with turicreate and/or venv.
from turicreate.
@igiloh From what @regexident is suggesting, we can do a few things:
- Lets sort out #41 and make sure the example is runnable in this case
- We could also have a general guide for those that are new to Python for the other set of things that were pointed out here.
from turicreate.
@srikris - Sounds right. I've noticed you've assigned @afranklin for #41 .
I'll discuss with @znation about the second bullet, we'll agree on some format and I'll proceed from there.
from turicreate.
@regexident - great, good luck!
Note that virtualenv
is not required. It's just an easier way to sort out your various python libraries. You can skip it as a first step if it gives you trouble.
from turicreate.
@srikris a general guide for those that are new to Python can be easily googled not sure it's necessary to add it in the tutorial. Alternative you can also include jupyter file. Here is an example https://github.com/guillaume-chevalier/LSTM-Human-Activity-Recognition
from turicreate.
@coolioxlr That's a valid point. I wasn't implying that we add it to all tutorials. Just one place in the user guide for people who are new to Python to go to. What are your thoughts on that?
from turicreate.
I tend to agree with @coolioxlr . Adding a notebook with a simple example and clear explanations is probably the way to go here.
from turicreate.
@igiloh with the missing steps from #41 and information from #59 (comment) it was straight forward to follow, thanks!
from turicreate.
Related Issues (20)
- Object detection - Segfault after a large number of iterations
- available data sets in turicreate
- Mac M2 model.export_coreml('.mlmodel') Unable to export model HOT 1
- TuriCreate still doesn't work on M1 using rosetta terminal HOT 7
- While training object_detector in colab randomly Using CPU/GPU to create model.
- Trying to create a model on a larger dataset - Loss stuck at the same number and not moving, resulting model predictions detect nothing
- Support Python 3.9 HOT 1
- pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
- Simple Image Classification Model gives different confidence level (Between Coreml UI and iOS App)
- pip dependency conflicts: conda-repo-cli 1.0.20 requires nbformat==5.4.0, but you have nbformat 5.7.3 which is incompatible. HOT 1
- AttributeError: module 'numpy' has no attribute 'typeDict' HOT 1
- Cannot install and import TuriCreate HOT 1
- Columns and DataType Not Explicitly Set on line 611 of sgraph.py
- Error While Installing Turicreate to my Windows via WSL HOT 1
- Benzinga error
- when you planning run it on windows natively (not wsl)
- MacOS ,When install dydx-python ,encounter some ERRORS , how to solve the problem? A lot thanks.
- Can't run DreamBooth in Gcolab
- Converting sframe to csv
- TuriCreate: Human Activity Classifier Model Deployment and result on unseen test dataset
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 turicreate.