4👍
Try changing the command as
docker run --rm --gpus all --platform linux/amd64 -v static_volume:/home/app/staticfiles/ -v media_volume:/app/uploaded_videos/ --name=deepfakeapplication abhijitjadhav1998/deefake-detection-20framemodel
Please ensure that you have compatible Nvidia Drivers available as this application uses Nvidia CUDA.
53👍
Put this line --platform linux/amd64
after docker run. It works for me, using Macbook M1.
- [Django]-How to get the current language in Django?
- [Django]-Multiple django sites with apache & mod_wsgi
- [Django]-Should I be adding the Django migration files in the .gitignore file?
2👍
sudo docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=bigStrongPwd' -p 1433:1433 --name sqledge -d mcr.microsoft.com/azure-sql-edge
Description :
Be sure to change bigStrongPwd to a strong password of your choice. You can also change the value of the –name parameter if you wish.
By default, the container is run with the Developer Edition. You can run the Premium Edition by adding -e ‘MSSQL_PID=Premium’.
Src: Database.guide
- [Django]-Is it safe to rename Django migrations file?
- [Django]-Alowing 'fuzzy' translations in django pages?
- [Django]-How to use refresh token to obtain new access token on django-oauth-toolkit?
2👍
When you build the docker image, add the --platform linux/amd64
flag and it will create an amd64 image instead of an arm64 image.
- [Django]-Modifying Dictionary in Django Session Does Not Modify Session
- [Django]-What's the best way to extend the User model in Django?
- [Django]-Annotate a queryset with the average date difference? (django)
1👍
I think this is correct:
docker run -v /Users/brandomiranda/iit-term-synthesis:/home/bot/iit-term-synthesis \
-v /Users/brandomiranda/pycoq:/home/bot/pycoq \
-v /Users/brandomiranda/ultimate-utils:/home/bot/ultimate-utils \
-v /Users/brandomiranda/proverbot9001:/home/bot/proverbot9001 \
-v /Users/brandomiranda/data:/home/bot/data \
--platform linux/amd64 \
-ti brandojazz/iit-term-synthesis:test bash
since the warning I was getting went away.
Note, this gives a warning:
docker run -v /Users/brandomiranda/iit-term-synthesis:/home/bot/iit-term-synthesis \
-v /Users/brandomiranda/pycoq:/home/bot/pycoq \
-v /Users/brandomiranda/ultimate-utils:/home/bot/ultimate-utils \
-v /Users/brandomiranda/proverbot9001:/home/bot/proverbot9001 \
-v /Users/brandomiranda/data:/home/bot/data \
-ti brandojazz/iit-term-synthesis:test bash
--platform linux/amd64
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
- [Django]-Django.db.utils.ProgrammingError: relation "bot_trade" does not exist
- [Django]-How do I get the class of a object within a Django template?
- [Django]-Foreign key from one app into another in Django
-1👍
WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)
- [Django]-How to check ImageField is empty
- [Django]-Feedback on using Google App Engine?
- [Django]-Filter Queryset on empty ImageField