-
Notifications
You must be signed in to change notification settings - Fork 38
Too many bugs, can not run any code with digit sensor #22
Comments
More detailed documentation and tutorial is needed |
Hi @DavidYaonanZhu, |
Thank you for replying, I have been trying to run surface_3d in example folder First thing is that where can I get data set? It requires path to data set |
Hi @DavidYaonanZhu, Are you using DIGIT sensor hardware or are you looking to run examples with a dataset you've previously collected? The Are you specifically looking for the dataset files? I'll provide an update to the documentation on how to collect your own dataset. |
@AlphaBetaPhi Hi, I am trying to test pytouch with DIGIT sensor (hardware). |
I have also tried to run the contact_area code. File "/home/ur/anaconda3/envs/plot/lib/python3.9/site-packages/pytouch/tasks/contact_area.py", line 107, in _compute_contact_area |
For the touch_detect.py |
I guess I might have missed some process |
The example contains various methods of initializing tasks, Initialize defaults specified by the task,
Initialize with a custom configuration, including model,
This can be specified to any model for touch detection providing the model has been submitted to the model zoo, Example:
|
Can you provide the code? |
This is basically the code I use to save frames, I just modified some part of digit_demo.py from digit-interface
And the contact_area code is:
|
I commented out resnet18 part as suggested.
But now the error says: During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Now I have solved the error, by referencing here But, now the detection is always 1 even without touching the sensor, I guess it is the model issue? |
In addition, I am trying to run contact_area.py, the error says: File "/home/ur/anaconda3/envs/plot/lib/python3.9/site-packages/pytouch/tasks/contact_area.py", line 107, in _compute_contact_area I am checking the error code UPDATE: |
Now I will try with surface_3d.py |
There is a dataset available through,
The surface_3d example expects a dataset with the following structure:
|
Can you provide a few examples of your DIGIT outputs you are using? |
I mistakenly closed |
For surface_3d.py: File "/home/ur/Downloads/digit/PyTouch/examples/surface_3d.py", line 103, in visualize_surface_3d Seems to be related to pix2pix.py |
I also always get 1, with certainty always greater that 98-98%. My code is almost the same as [DavidYaonanZhu](#22 (comment)) |
Yes, the classification model, namely, "touchdetect_resnet_DigitSensor.pth" was trained for that particular sensor by PyTouch developers. |
Do you know how to train or tune the model with the provided code? |
I am not sure how to do that with the provided code but you can refer to this repo for training pix2pix, CycleGan, MLP model for RGB to Surface3d mapping. |
I have to agree. The repo i extremely buggy. I am trying to fix it myself but there is a large inconsistency from: Let me say this clearly: this documentation PyTouchDocumentation is really BADLY MADE and things DO NOT WORK Since DIGIT has become a commercial product with GelSight, this should be fixed. Half of the functionalities do not work. I do not know how they accepted a paper about a repo that does not work. (or maybe only through some hidden gimmicks known by the developers) |
No description provided.
The text was updated successfully, but these errors were encountered: