• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Problem with Android Image classification app start

Hello everyone! While I try to run my custom Image classification app, I am getting a mistake:
Code:
java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [1, 30] and a Java object with shape [1, 1].
 at org.tensorflow.lite.Tensor.throwIfShapeIsIncompatible(Tensor.java:282)
 at org.tensorflow.lite.Tensor.throwIfDataIsIncompatible(Tensor.java:249)
 at org.tensorflow.lite.Tensor.copyTo(Tensor.java:141)
 at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:161)
 at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:275)
 at org.tensorflow.lite.Interpreter.run(Interpreter.java:249)
 at com.example.android.tflitecamerademo.ImageClassifier.classifyFrame(ImageClassifier.java:117)
 at com.example.android.tflitecamerademo.Camera2BasicFragment.classifyFrame(Camera2BasicFragment.java:663)
 at com.example.android.tflitecamerademo.Camera2BasicFragment.access$900(Camera2BasicFragment.java:69)
 at com.example.android.tflitecamerademo.Camera2BasicFragment$5.run(Camera2BasicFragment.java:558)
 at android.os.Handler.handleCallback(Handler.java:873)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:201)
 at android.os.HandlerThread.run(HandlerThread.java:65)

My model parameters are:
Code:
== Input details ==
name: x shape: [  1 256 256   3]
type: <class 'numpy.float32'>
 == Output details ==
name: Identity shape: [ 1 30]
type: <class 'numpy.float32'>

I use .lite format with quantization.
If you know how to help me, please, write! Also, I can show all my codes for rewriting.

Font color problems after system update

I have a Samsung J7 with a purchased Theme. I liked my theme. Just got a system update, and now the colors are weird. The main issue I have with it is that, for example, samsung S20 ultra 5g klingelton
when I go into Settings, the head labels (ie- Display, Wallpaper, Lock Screen, etc) are now all in a black font (over a dark purple background, so they are basically unreadable). How do I keep my theme but change select font colors?? I also do not like that things such as the background of the top (where is says "Settings" is now white with black letters, instead of staying with the theme of dark purple background with green font color. I have tried reapplying the theme, but that didn't work)
galaxy note 10+ ringtone: https://klingeltonemp3.info/samsung-galaxy-note-10-cosmos.htm

Stop app running web view

I have purchased a new tablet (Amazon Fire 7) specifically to run an app for my work. However, the app has now updated and now defaults to webview.

I have made contact with the tech team and they say it will run web view on tablets and only app view on phones. The web view on this small tablet is useless! Very fiddly having to zoom and scroll etc.

My question is...can I trick the app into displaying app view?

Thanks in advance ☺

factory messages app not working properly

Two days ago, out of nowhere and without changing any settings, the factory text/Messages app started acting up. The notification sound will not sound off, the vibration will not vibrate, the app button will not show how many new messages there are, and the notification light will not light up. I have restarted the phone and it fixed nothing. I need help please, I love the factory messaging app and need it work. Is anybody else experiencing this problem, and is there a fix?

Cleaning.. (exciting ha?)

So I'm looking for tips here. We live in a hard water area and our kitchen has been a nightmare to keep clean because of it.

See attached pic. Because we have a dark coloured worktop we can never use harsh chemicals or bleaching products to remove the scale marks.

We have tried a lot of products, even soaking the area in white vinegar over night. Which kind of works, seems to remove 60% of it however after cleaning it up and drying most of the marks return.

So have anyone got some ideas on how to remove these pesky marks?

Attachments

  • 20190721_154757_20190722021416080.jpg
    20190721_154757_20190722021416080.jpg
    265.3 KB · Views: 220

RED BALL IN LABYRINTH 3D

oaTWzu.png

Red Ball in Labyrinth 3D is a very entertaining game with wonderful labyrinths.

-Features-
* Explore and find a way out of labyrinths.
* The game gets hard after the initial levels.
* Enjoy unlimited fun the 3D labyrinths.
* Designed with unique graphics.
* Offers difficult and interesting mazes.
* Exciting and Fun levels!
* It's a FREE game!
* No time limits.

Enjoy the Red Ball in Labyrinth 3D game free!
Download and play your new free game "Red Ball in Labyrinth 3D" on Android Google Play!

Google Play Store Flashes Apps

Hi!

Ever since Friday, July 19, whenever I am reading an article in the Daily Mail Online app, the Play Store will quickly flash between 10-20 apps at me. These aren't embedded ads; the first one pops up in a small box, in the middle of my screen, graying out the article I'm viewing. Then more app ads open on top of that first one. I'll also see, in the background, a message saying Webpage Unavailable. I'll have to hit the back button until I'm back at the original article. It starts over again.

I've rebooted my phone, uninstalled/reinstalled the Daily Mail app, but it keeps doing it. Help!

Help Overheating if plugged into charger 24/7

Hi,

I want to use my Googe Nexus 6P as a dedicated remote control for my smart devices. I will be controlling the devices using the Logitech Harmony app which is linked to a Logitech Harmony Ultimate Hub. If I was to select the developer option for "stay awake" (screen will never sleep while charging) and if I keep the phone plugged into the charged 24/7, would the phone experience any overheating issues?

Regards,
Arun

Android newbie help needed!

Hi all

I recently switched from Apple to Android with the Huawei P30. Great phone and great camera. However last week i dropped it and totally smashed the screen. I can feel the device turn on ok but can't see anything on screen.

USB Debugging wasn't enabled when the phone was 'alive' and now because i can't get into the screen i can't turn it on to extract photos, videos and other files.

An insurance claim is accepted to repair or replace but they will wipe the phone first so, before i send it off and lose everything, is there any way of enabling debug in this scenario? Is there anyway of simply mirroring the phone on a laptop screen for example?

I'm not techy enough to try some of the more advanced solutions i've seen so just wanted to explore a simpler and more direct route to extract photos and videos off a phone with no screen access and no debug enabled. I've seen loads of different bits of software that do the first bit but they always need debug enabled. And i can't enable it as i can't see the screen.

I suspect that there's no way of me doing this really but figured i should ask some more experienced users first.

Any help would be massively appreciated!

Thanks

Google Drive problem!

1. My phone will not backup to Google Drive unless I take off my PIN lock security. It then backs up.
2. However removing PIN protection disables Google Pay as PIN security is required.
3. I then have to contact my bank to re-validate my card for use with Google Pay. What a pain!
Has anyone else experienced this problem?
Many thanks.

Google Search Issue possibly caused by July Update?

My results for any Google Search only shows the top results. One or two results at most and will show similar questions people have asked. That's it. It seems to be whiting out the bottom half of the page upon searching.
Things I've tried:
Updating Google App
Uninstalling updates
Restarting phone
Restarting in Safe Mode (same result)
Clearing Cache and Data for Google App
Syncing
Removing Primary Email account
Adding Primary Email account again

It works fine in Chrome with no issues.
Also works fine if I select More and then select Use Without An Account, which is not ideal for me.

I now have to wonder if somehow this could be related to an update? Noticed my latest software update was a week ago now.

It's just really bugging me! Grrr.

Attachments

  • 20190720_112836.jpg
    20190720_112836.jpg
    432.1 KB · Views: 284
  • 20190720_112904.jpg
    20190720_112904.jpg
    283.7 KB · Views: 277
  • 20190720_113001.jpg
    20190720_113001.jpg
    166.2 KB · Views: 261
  • 20190720_113020.jpg
    20190720_113020.jpg
    105.3 KB · Views: 238
  • Screenshot_20190720-171423_Google.jpg
    Screenshot_20190720-171423_Google.jpg
    228.6 KB · Views: 243

Help I want to update my phone to Pie using SamFirm & Odin. How do I find the CSC/REGION???

I've tried updating it other ways but it says that I have the latest Android version. I just want to update my Android version!

My phone model is : Samsung, SM-G965U.
I'm using SamFirm (https://samfirmtool.com/samfirm-v0-3-9)

How do I find out what to put in the region? I know it's CSC. How do I find my CSC?
I tried this:
settings > about > software information > service provider SW ver. it says ATT/ATT/ATT doesn’t that mean my region csc. should be ATT?

I also downloaded an app. called Phone Info and it says that my Active CSC is ATT. Do I put that for my Region in SamFirm and download it, then install it?

I want to do this safely. My phone is unlocked from AT&T will it affect the unlock status if I update to Pie via. Odin? Will it affect my SIM status (using METRO-PCS now)? How do I prevent from bricking my phone during this process because I heard it's easy to brick your phone via. Odin.

Please help.

Filter

Back
Top Bottom