Comments (5)
Hi @inisis,
Thank you for reaching out and for your interest in the auto-formatting bot! It looks like the issue you're encountering is related to the permissions and configurations of the GitHub Actions workflow.
To help you resolve this, please ensure the following:
-
Permissions: Verify that the GitHub Actions workflow has the necessary permissions to run on pull requests from contributors other than the repository owner. You can do this by checking the repository settings under
Settings > Actions > General
and ensuring that workflows are allowed to run for pull requests from forks. -
Workflow Configuration: Ensure that the workflow file (
.github/workflows/your-workflow-file.yml
) is correctly configured to trigger on pull requests. Here’s an example configuration snippet:name: Auto-formatting Bot on: pull_request: branches: - main jobs: format: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Run formatter run: | # Your formatting commands here
-
Token Permissions: Make sure that the GitHub token used in the workflow has the necessary permissions. By default, the
GITHUB_TOKEN
has read and write permissions on the repository. If you are using a custom token, ensure it has the correct scopes.
If the issue persists, please provide a minimum reproducible example of your workflow configuration and any relevant logs. This will help us better understand the problem and provide a more accurate solution. You can find more details on creating a minimum reproducible example here.
Feel free to update us with any additional information or questions you might have. We're here to help! 😊
from ultralytics.
@glenn-jocher I still can not get it to work, can you help me fix it. https://github.com/inisis/OnnxSlim/actions/runs/9591137863/job/26447570285
from ultralytics.
Hi @inisis,
Thank you for providing the link to the workflow run. To help you effectively, could you please ensure the following:
-
Minimum Reproducible Example: If you haven't already, please provide a minimum reproducible example of your workflow configuration. This will help us understand the issue better. You can find guidance on creating one here.
-
Package Versions: Ensure that you are using the most recent versions of
torch
andultralytics
. If not, please upgrade your packages and try running the workflow again.
Here's a quick checklist to verify your workflow configuration:
- Permissions: Confirm that the workflow has the necessary permissions to run on pull requests from contributors.
- Workflow Triggers: Ensure the workflow is set to trigger on pull requests:
on: pull_request: branches: - main
- Token Permissions: Verify that the
GITHUB_TOKEN
or any custom token used has the appropriate scopes.
If the issue persists, please share the relevant parts of your workflow configuration and any error messages you are encountering. This will help us diagnose the problem more accurately.
Looking forward to your response! 😊
from ultralytics.
Thank you, by setting settings/actions -> Workflow permissions this issue got solved
from ultralytics.
Hi @inisis,
Great to hear that adjusting the workflow permissions resolved the issue! 🎉
If you encounter any further questions or need additional assistance, feel free to reach out. We're here to help!
from ultralytics.
Related Issues (20)
- Can anyone explain what the output shapes of YOLOv8n and YOLOv8n-seg means? HOT 12
- Training RT-DETR with obb HOT 3
- In a YOLOv8 segmentation task, does resizing images affect the accuracy of the ground truth mask, and can it cause the ground truth polygon to shift? HOT 1
- yolov8_pose HOT 3
- How can I find `pred_dist` function definition? HOT 1
- How to use bfloat for inference with a pytorch pt weight? HOT 4
- Ground truth masks that contain holes in training of segmentation tasks HOT 5
- The meaning of the two training maps HOT 12
- Is it possible to stratify metrics? HOT 3
- i need to modify the behavior of mlflow integration HOT 6
- Creating engine on NVIDIA AGX ORIN 64GB DevKit gets stuck HOT 4
- why callback function not executed in tune() HOT 6
- 如何在训练的时候取消LetterBox直接resize,我改了之后,可是没有效果 HOT 6
- Error in Multiple GPU Training AWS HOT 14
- How to parse the object detection results from deepsparse pipeline HOT 4
- How to improve the metrics for night vision object detection? HOT 3
- yolov8 default.yaml Hyperparameters HOT 2
- How to obtain the number of samples for each class in the training set HOT 2
- Train Yolov8m Incremental HOT 2
- Custom Data and RKNN HOT 4
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 ultralytics.